U2 8734 then IB 986 at Gatwick
Budapest → London → Madrid
Timetable, London time
19:55U2 8734 from Budapest at the gate
19:40IB 986 to Madrid leaves the gate
23 h 45 apart on the timetable, overnight
IB 986 leaves 23 h 45 after U2 8734 arrives on the timetable: more than half a day, so not a connection we count.