U2 8056 then U2 8783 at Gatwick
Barcelona → London → Prague
Timetable, London time
13:10U2 8056 from Barcelona at the gate
06:50U2 8783 to Prague leaves the gate
17 h 40 apart on the timetable, overnight
U2 8783 leaves 17 h 40 after U2 8056 arrives on the timetable: more than half a day, so not a connection we count.