U2 862 then LS 4103 at Gatwick
Glasgow → London → Agadir
Timetable, London time
08:00U2 862 from Glasgow at the gate
07:20LS 4103 to Agadir leaves the gate
23 h 20 apart on the timetable, overnight
LS 4103 leaves 23 h 20 after U2 862 arrives on the timetable: more than half a day, so not a connection we count.