Disposing of the price of a Waqf sold after its returns ceased

Q: Our grandfather, Nasir Al-Mulham, died many years ago. He owned some property, one-third of which had palm-trees on it, but the owner died and the palm trees had perished. As the property had become useless, it was sold and all the heirs took their respective shares and the remaining share, belonging to the grandfather, was deposited in a bank more than three years ago. Today palm trees entail a lot of responsibilities, first is pollination, second is harvesting the fruits, and above that they are of no value to people. So, I suggested to one of the heirs that we should put the money towards building a Masjid (mosque), but he said that buying an Ud-hiyah (sacrificial animal offered by non-pilgrims) or something like that would be better.We hope that Your Eminence will advise us as to what would be seen as good by Allah! It should be noted that the amount of money is 180,000 Riyals. (Part No. 16; Page No. 152

A: It is permissible to spend this money to buy a small house or shop as a Waqf on behalf of your grandfather, and for the income to be spent on what your grandfather indicated in the will. There is no prohibition against combining this with another Waqf in a house or shop. May Allah grant us success. May peace and blessings be upon our Prophet, his family, and Companions.