It is obligatory to
act in accordance with what is mentioned in the said will. The property should be kept intact and the income can be spent firstly on maintaining the building, and secondly on purchasing one Ud-hiyah. The extra money should be spent on charitable works including giving Sadaqah (voluntary charity) to the poor and the needy during Ramadan and other times, maintaining or contributing towards the maintenance of the Masjids (mosques) and so on. May Allah grant us success. May peace and blessings of Allah be upon our Prophet Muhammad, his family and Companions!