AR 7327 then SM 3108 at Madrid
Lisbon → Madrid → Luxor
Timetable, Madrid time
13:50AR 7327 from Lisbon at the gate
12:45SM 3108 to Luxor leaves the gate
22 h 55 apart on the timetable, overnight
SM 3108 leaves 22 h 55 after AR 7327 arrives on the timetable: more than half a day, so not a connection we count.