BA 681 then BA 668 at Heathrow
Istanbul → London → Marrakesh
Timetable, London time
09:05BA 681 from Istanbul at the gate
07:45BA 668 to Marrakesh leaves the gate
22 h 40 apart on the timetable, overnight
BA 668 leaves 22 h 40 after BA 681 arrives on the timetable: more than half a day, so not a connection we count.