AA 8770 then W4 6314 at Madrid
London Heathrow → Madrid → Milan
Timetable, Madrid time
22:35AA 8770 from London Heathrow at the gate
21:15W4 6314 to Milan leaves the gate
22 h 40 apart on the timetable, overnight
W4 6314 leaves 22 h 40 after AA 8770 arrives on the timetable: more than half a day, so not a connection we count.