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