P6 3492 then FR 6791 at Madrid
Munich → Madrid → Marrakesh
Timetable, Madrid time
02:10P6 3492 from Munich at the gate
17:40FR 6791 to Marrakesh leaves the gate
15 h 30 apart on the timetable
FR 6791 leaves 15 h 30 after P6 3492 arrives on the timetable: more than half a day, so not a connection we count.