U2 8784 then U2 867 at Gatwick
Prague → London → Glasgow
Timetable, London time
21:10U2 8784 from Prague at the gate
14:20U2 867 to Glasgow leaves the gate
17 h 10 apart on the timetable, overnight
U2 867 leaves 17 h 10 after U2 8784 arrives on the timetable: more than half a day, so not a connection we count.