DE 9364 then IB 1857 at Madrid
Munich → Madrid → Marrakesh
Timetable, Madrid time
11:05DE 9364 from Munich at the gate
19:30IB 1857 to Marrakesh leaves the gatealso VY 5477, BA 7165
8 h 25 apart on the timetable
The last days
DE 9364 and IB 1857 weren’t both flown 15 min to 12 h apart in the last 21 days.
Statistics from past flights, not live flight information. Always check times and your connection with your airline, and don’t base travel or booking decisions on these numbers.