U2 802 then IB 986 at Gatwick
Belfast City → London → Madrid
Timetable, London time
20:50U2 802 from Belfast City at the gate
19:40IB 986 to Madrid leaves the gate
22 h 50 apart on the timetable, overnight
IB 986 leaves 22 h 50 after U2 802 arrives on the timetable: more than half a day, so not a connection we count.