IB 711 then AA 9602 at Heathrow
Madrid → London → Miami
Timetable, London time
08:25IB 711 from Madrid at the gate
08:00AA 9602 to Miami leaves the gate
23 h 35 apart on the timetable, overnight
AA 9602 leaves 23 h 35 after IB 711 arrives on the timetable: more than half a day, so not a connection we count.