U2 8638 then U2 8707 at Gatwick
Munich → London → Marrakesh
Timetable, London time
16:55U2 8638 from Munich at the gate
16:05U2 8707 to Marrakesh leaves the gate
23 h 10 apart on the timetable, overnight
U2 8707 leaves 23 h 10 after U2 8638 arrives on the timetable: more than half a day, so not a connection we count.