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