BA 1473 then AA 9602 at Heathrow
Glasgow → London → Miami
Timetable, London time
10:20BA 1473 from Glasgow at the gate
08:00AA 9602 to Miami leaves the gate
21 h 40 apart on the timetable, overnight
AA 9602 leaves 21 h 40 after BA 1473 arrives on the timetable: more than half a day, so not a connection we count.