SM 3109 then UX 5433 at Madrid
Cairo → Madrid → Málaga
Timetable, Madrid time
11:45SM 3109 from Cairo at the gate
10:55UX 5433 to Málaga leaves the gatealso AD 6919
23 h 10 apart on the timetable, overnight
UX 5433 leaves 23 h 10 after SM 3109 arrives on the timetable: more than half a day, so not a connection we count.