BA 1497 then BA 1420 at Heathrow
Glasgow → London → Inverness
Timetable, London time
09:35BA 1497 from Glasgow at the gate
08:35BA 1420 to Inverness leaves the gate
23 h apart on the timetable, overnight
BA 1420 leaves 23 h after BA 1497 arrives on the timetable: more than half a day, so not a connection we count.