AA 56 then BA 1450 at Heathrow
Miami → London → Edinburgh
Timetable, London time
12:05AA 56 from Miami at the gate
11:35BA 1450 to Edinburgh leaves the gate
23 h 30 apart on the timetable, overnight
BA 1450 leaves 23 h 30 after AA 56 arrives on the timetable: more than half a day, so not a connection we count.