LH 960 then BA 901 at Frankfurt
Edinburgh → Frankfurt am Main → London Heathrow
Timetable, Frankfurt am Main time
10:55LH 960 from Edinburgh at the gate
10:40BA 901 to London Heathrow leaves the gate
23 h 45 apart on the timetable, overnight
BA 901 leaves 23 h 45 after LH 960 arrives on the timetable: more than half a day, so not a connection we count.