Scatter some kunafa dough on the pan. Brush with butter, then press them down with your hands or spatula onto the pan to achieve the firmness you prefer.
Sprinkle with nuts and sugar mixture.
Repeat steps 3 and 4 ending with kunafa dough brushed with butter.
Cover pan with foil.
Bake at 300°F for 40 minutes. Remove foil and bake again for 15 minutes.
While baking, prepare the syrup by bringing water and sugar to boil. Simmer for 10-15 minutes adding the rest of the ingredients close to end. Let cool.