BA 859 then BA 1496 at Heathrow
Prague → London → Glasgow
Timetable, London time
20:05BA 859 from Prague at the gate
20:00BA 1496 to Glasgow leaves the gate
23 h 55 apart on the timetable, overnight
BA 1496 leaves 23 h 55 after BA 859 arrives on the timetable: more than half a day, so not a connection we count.