U2 8020 then U2 8709 at Gatwick
Madrid → London → Marrakesh
Timetable, London time
18:10U2 8020 from Madrid at the gate
16:30U2 8709 to Marrakesh leaves the gate
22 h 20 apart on the timetable, overnight
U2 8709 leaves 22 h 20 after U2 8020 arrives on the timetable: more than half a day, so not a connection we count.