U2 8784 then VY 7615 at Gatwick
Prague → London → Barcelona
Timetable, London time
22:05U2 8784 from Prague at the gate
15:55VY 7615 to Barcelona leaves the gate
17 h 50 apart on the timetable, overnight
VY 7615 leaves 17 h 50 after U2 8784 arrives on the timetable: more than half a day, so not a connection we count.