BA 929 then BA 1464 at Heathrow
Hannover → London → Edinburgh
Timetable, London time
22:35BA 929 from Hannover 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 929 arrives on the timetable: more than half a day, so not a connection we count.