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