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