AZ 2440 then FR 9430 at Madrid
Málaga → Madrid → Marrakesh
Timetable, Madrid time
09:50AZ 2440 from Málaga at the gatealso ME 4046, EY 4313, DL 6752, AD 6931, AM 6992, RO 9452
09:30FR 9430 to Marrakesh leaves the gate
23 h 40 apart on the timetable, overnight
FR 9430 leaves 23 h 40 after AZ 2440 arrives on the timetable: more than half a day, so not a connection we count.