U2 8704 then U2 869 at Gatwick
Agadir → London → Glasgow
Timetable, London time
22:45U2 8704 from Agadir at the gate
18:35U2 869 to Glasgow leaves the gate
19 h 50 apart on the timetable, overnight
U2 869 leaves 19 h 50 after U2 8704 arrives on the timetable: more than half a day, so not a connection we count.