BA 1483 then BA 1456 at Heathrow
Glasgow → London → Edinburgh
Timetable, London time
17:25BA 1483 from Glasgow at the gate
17:15BA 1456 to Edinburgh leaves the gate
23 h 50 apart on the timetable, overnight
BA 1456 leaves 23 h 50 after BA 1483 arrives on the timetable: more than half a day, so not a connection we count.