AY 1331 then AA 9602 at Heathrow
Helsinki → London → Miami
Timetable, London time
09:10AY 1331 from Helsinki at the gate
08:00AA 9602 to Miami leaves the gate
22 h 50 apart on the timetable, overnight
AA 9602 leaves 22 h 50 after AY 1331 arrives on the timetable: more than half a day, so not a connection we count.