BA 669 then QR 8 at Heathrow
Marrakesh → London → Doha
Timetable, London time
16:05BA 669 from Marrakesh at the gate
14:55QR 8 to Doha leaves the gate
22 h 50 apart on the timetable, overnight
QR 8 leaves 22 h 50 after BA 669 arrives on the timetable: more than half a day, so not a connection we count.