In a deep frying pan with a thin layer of oil, fry the potatoes, remove to a plate. Fry zucchini until golden, add to plate.
In the same pan fry onion with beef. Add salt, pepper, paprika, cumin, ras el hanout, and garlic powder. Mix well.
In a large bowl pour rice, add meat mixture, pine nuts and almonds. Mix in seasoning blend.
Prepare a large deep nonstick pot that can go in the oven. Arrange fried potato slices on the bottom. Top with half the rice/meat mixture. Arrange zucchini cubes, whole shallots, and garlic over top.
Pour remaining rice/meat mixture over top. Add 4 cups of water and cover with lid.
Place on stove on low heat for 30 minutes.
Meanwhile preheat oven to 340℉/170℃. Place pot in oven for 40 minutes. Remove from oven and wait about 30 minutes before flipping and serving.