W6 2221 then U2 8055 at Gatwick
Budapest → London → Barcelona
Timetable, London time
10:15W6 2221 from Budapest at the gate
06:55U2 8055 to Barcelona leaves the gate
20 h 40 apart on the timetable, overnight
U2 8055 leaves 20 h 40 after W6 2221 arrives on the timetable: more than half a day, so not a connection we count.