BA 669 then BA 1494 at Heathrow
Marrakesh → London → Glasgow
Timetable, London time
20:20BA 669 from Marrakesh at the gate
19:05BA 1494 to Glasgow leaves the gate
22 h 45 apart on the timetable, overnight
BA 1494 leaves 22 h 45 after BA 669 arrives on the timetable: more than half a day, so not a connection we count.