EC 8376 then IB 984 at Gatwick
Milan → London → Madrid
Timetable, London time
19:25EC 8376 from Milan at the gate
11:45IB 984 to Madrid leaves the gate
16 h 20 apart on the timetable, overnight
IB 984 leaves 16 h 20 after EC 8376 arrives on the timetable: more than half a day, so not a connection we count.