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