BA 1475 then BA 668 at Heathrow
Glasgow → London → Marrakesh
Timetable, London time
10:55BA 1475 from Glasgow at the gate
07:35BA 668 to Marrakesh leaves the gate
20 h 40 apart on the timetable, overnight
BA 668 leaves 20 h 40 after BA 1475 arrives on the timetable: more than half a day, so not a connection we count.