BA 669 then BA 988 at Heathrow
Marrakesh → London → Berlin
Timetable, London time
20:20BA 669 from Marrakesh at the gate
15:55BA 988 to Berlin leaves the gate
19 h 35 apart on the timetable, overnight
BA 988 leaves 19 h 35 after BA 669 arrives on the timetable: more than half a day, so not a connection we count.