BA 82 then BA 1452 at Heathrow
Abuja → London → Edinburgh
Timetable, London time
14:20BA 82 from Abuja at the gate
14:05BA 1452 to Edinburgh leaves the gate
23 h 45 apart on the timetable, overnight
BA 1452 leaves 23 h 45 after BA 82 arrives on the timetable: more than half a day, so not a connection we count.