TP 493 then IB 1146 at Lisbon
Toulouse → Lisbon → Madrid
Timetable, Lisbon time
21:05TP 493 from Toulouse at the gate
20:45IB 1146 to Madrid leaves the gate
23 h 40 apart on the timetable, overnight
IB 1146 leaves 23 h 40 after TP 493 arrives on the timetable: more than half a day, so not a connection we count.