In a large mixing bowl, combine Makhsous Semolina, sugar, coconut, and baking powder, and mix well.
Add the melted butter and mix, then the yoghurt, until everything is incorporated and the mixture is smooth.
Spread the mixture evenly in a buttered baking pan.
Bake at 190 °C for 30 minutes.
To make the syrup, mix together the sugar, water, lime or lemon juice, and cinnamon stick in a saucepan over low heat and let it simmer for 10 minutes.
Pour the hot syrup over the basbousa and allow it to cool.
Decorate with the ground pistachio before serving.