BA 659 then LH 917 at Heathrow
Larnaca → London → Frankfurt am Main
Timetable, London time
18:50BA 659 from Larnaca at the gate
18:30LH 917 to Frankfurt am Main leaves the gate
23 h 40 apart on the timetable, overnight
LH 917 leaves 23 h 40 after BA 659 arrives on the timetable: more than half a day, so not a connection we count.