U2 803 then U2 8783 at Gatwick
Edinburgh → London → Prague
Timetable, London time
15:15U2 803 from Edinburgh at the gate
06:50U2 8783 to Prague leaves the gate
15 h 35 apart on the timetable, overnight
U2 8783 leaves 15 h 35 after U2 803 arrives on the timetable: more than half a day, so not a connection we count.