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