BA 1469 then BA 968 at Heathrow
Glasgow → London → Hamburg
Timetable, London time
15:25BA 1469 from Glasgow at the gate
15:20BA 968 to Hamburg leaves the gate
23 h 55 apart on the timetable, overnight
BA 968 leaves 23 h 55 after BA 1469 arrives on the timetable: more than half a day, so not a connection we count.