UX 1172 then FR 5356 at Madrid
Brussels → Madrid → Krakow
Timetable, Madrid time
13:15UX 1172 from Brussels at the gate
06:00FR 5356 to Krakow leaves the gate
16 h 45 apart on the timetable, overnight
FR 5356 leaves 16 h 45 after UX 1172 arrives on the timetable: more than half a day, so not a connection we count.