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