BA 775 then BA 1442 at Heathrow
Oslo → London → Edinburgh
Timetable, London time
09:00BA 775 from Oslo at the gate
08:40BA 1442 to Edinburgh leaves the gate
23 h 40 apart on the timetable, overnight
BA 1442 leaves 23 h 40 after BA 775 arrives on the timetable: more than half a day, so not a connection we count.