Currently there are no direct flights Marrakech to Cuba:

Flights Marrakech to Cuba with 1 stopover:

Flights via Madrid (MAD), Spain
From Marrakech (RAK), Morocco with Iberia Transfer at Madrid (MAD), Spain Then on to Havana (HAV), Cuba with Iberia
Flights via Amsterdam (AMS), Netherland
From Marrakech (RAK), Morocco with KLM Transfer at Amsterdam (AMS), Netherland Then on to Havana (HAV), Cuba with KLM
Flights via Zurich (ZRH), Switzerland
From Marrakech (RAK), Morocco with Swiss Transfer at  Zurich (ZRH), Switzerland Then on to Varadero (VRA), Cuba with Swiss