BA 1453 then BA 1320 at Heathrow
Edinburgh → London → Aberdeen
Timetable, London time
18:45BA 1453 from Edinburgh at the gate
18:25BA 1320 to Aberdeen leaves the gate
23 h 40 apart on the timetable, overnight
BA 1320 leaves 23 h 40 after BA 1453 arrives on the timetable: more than half a day, so not a connection we count.