FR 5357 then UX 1157 at Madrid
Krakow → Madrid → Lisbon
Timetable, Madrid time
22:20FR 5357 from Krakow at the gate
18:55UX 1157 to Lisbon leaves the gatealso SK 8372
20 h 35 apart on the timetable, overnight
UX 1157 leaves 20 h 35 after FR 5357 arrives on the timetable: more than half a day, so not a connection we count.