BA 349 then BA 664 at Heathrow
Nice → London → Larnaca
Timetable, London time
21:05BA 349 from Nice at the gate
17:35BA 664 to Larnaca leaves the gate
20 h 30 apart on the timetable, overnight
BA 664 leaves 20 h 30 after BA 349 arrives on the timetable: more than half a day, so not a connection we count.