Chop beef into large chunks. Mix meat, ras el hanout, onion and garlic then let marinate 1 hour.
Preheat oven to 150 degrees C. Heat the oil or ghee in a heavy bottomed casserole dish. Add the meat mixture and turn in the hot oil for a few minutes until the spices are fragrant.
Scatter over the saffron, salt and pepper flakes. Mix through and add the marrow bones on top. Add the cinnamon stick and just enough water to barely cover the meat. Press a piece of baking paper down directly on top of the meat and bones, then bake in the oven 2 1/2 hours.
Place figs and apricots in a pot and barely cover with water. Bring to the boil, lower heat and simmer 10 minutes.
Add the sugar, rosewater and prunes and simmer another 5 minutes. Let cool.
Remove the casserole from the oven. Tip in the fruit mixture and stir in. Taste for salt and pepper. Return to the oven for a further hour.