FR 6792 then UX 5431 at Madrid
Marrakesh → Madrid → Málaga
Timetable, Madrid time
22:05FR 6792 from Marrakesh at the gate
21:45UX 5431 to Málaga leaves the gatealso AD 6916
23 h 40 apart on the timetable, overnight
UX 5431 leaves 23 h 40 after FR 6792 arrives on the timetable: more than half a day, so not a connection we count.