UX 1155 then FR 1798 at Lisbon
Madrid → Lisbon → Toulouse
Timetable, Lisbon time
15:15UX 1155 from Madrid at the gate
10:55FR 1798 to Toulouse leaves the gate
19 h 40 apart on the timetable, overnight
FR 1798 leaves 19 h 40 after UX 1155 arrives on the timetable: more than half a day, so not a connection we count.