U2 8784 then U2 8733 at Gatwick
Prague → London → Budapest
Timetable, London time
22:10U2 8784 from Prague at the gate
16:30U2 8733 to Budapest leaves the gate
18 h 20 apart on the timetable, overnight
U2 8733 leaves 18 h 20 after U2 8784 arrives on the timetable: more than half a day, so not a connection we count.