FR 4023 then UX 1150 at Lisbon
Krakow → Lisbon → Madrid
Timetable, Lisbon time
16:30FR 4023 from Krakow at the gate
11:35UX 1150 to Madrid leaves the gate
19 h 05 apart on the timetable, overnight
UX 1150 leaves 19 h 05 after FR 4023 arrives on the timetable: more than half a day, so not a connection we count.