TP 1014 then SM 3108 at Madrid
Lisbon → Madrid → Luxor
Timetable, Madrid time
14:05TP 1014 from Lisbon at the gate
12:45SM 3108 to Luxor leaves the gate
22 h 40 apart on the timetable, overnight
SM 3108 leaves 22 h 40 after TP 1014 arrives on the timetable: more than half a day, so not a connection we count.