MS 777 then BA 678 at Heathrow
Cairo → London → Istanbul
Timetable, London time
12:35MS 777 from Cairo at the gate
10:30BA 678 to Istanbul leaves the gate
21 h 55 apart on the timetable, overnight
BA 678 leaves 21 h 55 after MS 777 arrives on the timetable: more than half a day, so not a connection we count.