UX 5042 then FR 9430 at Madrid
Málaga → Madrid → Marrakesh
Timetable, Madrid time
09:50UX 5042 from Málaga at the gate
22:40FR 9430 to Marrakesh leaves the gate
12 h 50 apart on the timetable
FR 9430 leaves 12 h 50 after UX 5042 arrives on the timetable: more than half a day, so not a connection we count.