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