U2 8020 then U2 8733 at Gatwick
Madrid → London → Budapest
Timetable, London time
13:20U2 8020 from Madrid at the gate
09:25U2 8733 to Budapest leaves the gate
20 h 05 apart on the timetable, overnight
U2 8733 leaves 20 h 05 after U2 8020 arrives on the timetable: more than half a day, so not a connection we count.