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