U2 856 then U2 871 at Gatwick
Aberdeen → London → Glasgow
Timetable, London time
07:40U2 856 from Aberdeen at the gate
07:05U2 871 to Glasgow leaves the gate
23 h 25 apart on the timetable, overnight
U2 871 leaves 23 h 25 after U2 856 arrives on the timetable: more than half a day, so not a connection we count.