EC 1703 then AA 8844 at Madrid
Nice → Madrid → London Heathrow
Timetable, Madrid time
20:40EC 1703 from Nice at the gate
17:20AA 8844 to London Heathrow leaves the gate
20 h 40 apart on the timetable, overnight
AA 8844 leaves 20 h 40 after EC 1703 arrives on the timetable: more than half a day, so not a connection we count.