Add 2 tablespoons of olive oil to a large oven-proof pan and fry the aubergines until slightly golden. You may want to do this in batches, depending on the size of your pan. Remove the aubergines from the pan and set them aside.
In the same pan, add the rest of the olive oil and fry the onion for 2-3 minutes until it softens. Add the garlic and cook for another 30 seconds. Then add the courgette and red pepper and cook for 5-6 minutes until they soften.
Preheat the oven to 190°C (375°F).
Add the ras el hanout and ground cinnamon to the pan and stir well to cover the vegetables.
Add the chopped tomatoes, chickpeas, and dried apricots. Stir well and then cover with vegetable stock. Bring to a simmer, stirring occasionally.
Add the aubergine back to the pan, stir, and add a bit more stock or water if it looks too dry. The texture should be stew-like.
Put a lid over the pan and bake for 25 minutes until all veggies are tender.
Remove the pan from the oven and season to taste. If there's too much liquid left, bake for a couple more minutes without the lid. Add a little more water and stir if it looks too dry.
Serve over couscous and sprinkled with fresh parsley, if you like.
