UX 1153 then FR 4166 at Lisbon
Madrid → Lisbon → Vienna
Timetable, Lisbon time
10:45UX 1153 from Madrid at the gate
06:20FR 4166 to Vienna leaves the gate
19 h 35 apart on the timetable, overnight
FR 4166 leaves 19 h 35 after UX 1153 arrives on the timetable: more than half a day, so not a connection we count.