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