BA 349 then BA 398 at Heathrow
Nice → London → Cairo
Timetable, London time
21:05BA 349 from Nice at the gate
15:20BA 398 to Cairo leaves the gate
18 h 15 apart on the timetable, overnight
BA 398 leaves 18 h 15 after BA 349 arrives on the timetable: more than half a day, so not a connection we count.