BA 793 then BA 406 at Heathrow
Göteborg → London → Cairo
Timetable, London time
22:10BA 793 from Göteborg at the gate
21:25BA 406 to Cairo leaves the gate
23 h 15 apart on the timetable, overnight
BA 406 leaves 23 h 15 after BA 793 arrives on the timetable: more than half a day, so not a connection we count.