BA 817 then BA 83 at Heathrow
Copenhagen → London → Abuja
Timetable, London time
22:35BA 817 from Copenhagen at the gate
22:30BA 83 to Abuja leaves the gate
23 h 55 apart on the timetable, overnight
BA 83 leaves 23 h 55 after BA 817 arrives on the timetable: more than half a day, so not a connection we count.