AM 34 then FR 6791 at Madrid
Mexico City → Madrid → Marrakesh
Timetable, Madrid time
05:00AM 34 from Mexico City at the gate
18:10FR 6791 to Marrakesh leaves the gate
13 h 10 apart on the timetable
FR 6791 leaves 13 h 10 after AM 34 arrives on the timetable: more than half a day, so not a connection we count.