-
Preheat the oven to 500 degrees F (260 degrees C).
-
Mix together the semolina and white flours and the sugar.
-
Add the melted butter or ghee and whisk those ingredients to combine them.
-
Add the water. Knead the mixture until it forms a smooth ball of dough.
-
Stretch the dough onto a greased sheet pan until it is roughly 1/2-inch thick. Then press dimples into it with your fingertips. Put it into the oven and immediately turn the heat down to 350 degrees F (180 degrees C). Bake for 15 minutes, then turn the heat off and let the dough sit in the oven for another 35-40 minutes.
-
Break the dough into pieces and grind it into granules in the food processor.
-
Preheat the oven again, this time to 400 degrees F (200 degrees C).
-
Mix the granules of knafeh with the melted post-baking butter or ghee until they are well combined. Press half of that mixture into a greased 11-inch round metal pan or pie dish.
-
Mix the chopped walnuts, cinnamon and sugar and spread it evenly on top of the first dough layer.
-
Then add the remaining buttered dough granules and gently press them into the filling, making a dough sandwich.
-
Bake the walnut-filled knafeh for 15 - 20 minutes, then place it under the broiler for about 1-2 minutes to brown the top, just until it is golden.
-
As the knafeh is baking, make the simple syrup by bringing the water and sugar to a boil. Lower the heat until they simmer and cook for about 3 minutes, stirring occasionally until the sugar is completely dissolved. Set aside until the knafeh is done.
-
Take the knafeh out of the oven and immediately spoon the simple syrup evenly over it. The syrup will bubble initially so be careful. There is quite a lot of syrup. Over time it will sink into the knafeh, but at first, some will remain on top.
-
Add the pistachios on the top. Let the knafeh cool before serving.