EC 8376 then UX 1014 at Gatwick
Milan → London → Madrid
Timetable, London time
19:25EC 8376 from Milan at the gate
10:00UX 1014 to Madrid leaves the gate
14 h 35 apart on the timetable, overnight
UX 1014 leaves 14 h 35 after EC 8376 arrives on the timetable: more than half a day, so not a connection we count.