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