The one third is not sufficient to fulfill the bequest
Before a man died, he made a will during his lifetime of one-third of the value of his house,
to be spent on acts of charity. He had no heirs except for his brother and his wife. After his death, the house was sold and his brother and wife took their respective shares according to the Shari`ah rules of inheritance and gave me the one-third and the will to spend on charitable causes on behalf of the deceased. The one-third willed, around 70,000, was not sufficient for building a Masjid (mosque). Which is better; to donate this money to be utilized in building a Masjid, donate it to a charitable organization to spend on the poor and needy according to its programs, give it in charity to support the Afghani Mujahideen or give it as financial aid to married couples? Kindly answer me, may Allah reward you!
If the will is valid and the case is as you have mentioned, you can contribute the money in (Part No. 16; Page No. 400) building a Masjid. May Allah grant us success. May peace and blessings be upon our Prophet, his family and Companions.