BA 679 then BA 1464 at Heathrow
Istanbul → London → Edinburgh
Timetable, London time
22:35BA 679 from Istanbul at the gate
21:20BA 1464 to Edinburgh leaves the gate
22 h 45 apart on the timetable, overnight
BA 1464 leaves 22 h 45 after BA 679 arrives on the timetable: more than half a day, so not a connection we count.