BA 669 then BA 1488 at Heathrow
Marrakesh → London → Glasgow
Timetable, London time
19:50BA 669 from Marrakesh at the gate
17:00BA 1488 to Glasgow leaves the gate
21 h 10 apart on the timetable, overnight
BA 1488 leaves 21 h 10 after BA 669 arrives on the timetable: more than half a day, so not a connection we count.