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