U2 803 then U2 8709 at Gatwick
Edinburgh → London → Marrakesh
Timetable, London time
15:15U2 803 from Edinburgh at the gate
13:45U2 8709 to Marrakesh leaves the gate
22 h 30 apart on the timetable, overnight
U2 8709 leaves 22 h 30 after U2 803 arrives on the timetable: more than half a day, so not a connection we count.