U2 8732 then VY 7613 at Gatwick
Budapest → London → Barcelona
Timetable, London time
18:15U2 8732 from Budapest at the gate
15:25VY 7613 to Barcelona leaves the gate
21 h 10 apart on the timetable, overnight
VY 7613 leaves 21 h 10 after U2 8732 arrives on the timetable: more than half a day, so not a connection we count.