BA 1441 then BA 668 at Heathrow
Edinburgh → London → Marrakesh
Timetable, London time
11:30BA 1441 from Edinburgh at the gate
11:20BA 668 to Marrakesh leaves the gate
23 h 50 apart on the timetable, overnight
BA 668 leaves 23 h 50 after BA 1441 arrives on the timetable: more than half a day, so not a connection we count.