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