Preheat oven to 350F (180C).
Melt the butter in a small saucepan.
Brush the bottom of a 13 x 9 inches (33 x 23cm) baking pan with some of the melted butter.
Spread the first phyllo sheet at the bottom of the pan and drizzle some of the butter using a brush. Gently press down the phyllo sheet with your hands. Repeat the same process for the remaining 5 phyllo sheets.
Pour the custard filling into the pan and spread it evenly.
Fold in the phyllo edges hanging outside the pan.
Drizzle some of the melted butter.
Following the same procedure as before, start layering the remaining phyllo sheets one after the other. Repeat for all 6 phyllo sheets.
Using a brush, carefully push the excess phyllo edges into the pan to seal the filling.
Brush the top with more melted butter.
Score the pie using a knife into10-12 pieces without cutting the bottom phyllo sheets.
Sprinkle some water on top using your hands.
Bake for approximately 1 hour and 30 minutes or until golden brown and crispy.
Remove from the oven and pour the cold syrup right away.
Allow 20-30 minutes for the syrup to be soaked.
Cut into slices and serve!