Building a Mosque for Someone Else

Most people think about building a mosque for someone after they die.

But you do not have to wait.

A mosque can be built or funded on behalf of your parents while they are alive.

It can also be given as Sadaqah Jariyah [ongoing charity that continues to earn rewards] for someone who has died. Several family members can share one project. You can even include yourself in the intention.

The important question is not simply:

“Whose name is on the mosque?”

It is:

“For whom are you intending the reward?”

And the Islamic evidence for giving charity on behalf of others is remarkably strong.

Can You Build a Mosque for Someone Deceased?

Yes.

This is established by authentic hadith.

A man came to the Prophet ﷺ and said:

“My father died and left wealth without making a will. Will it benefit him if I give charity on his behalf?”

The Prophet ﷺ said: “Yes.”

— Sahih Muslim: 1630

Another man asked about his mother, who had died suddenly:

“My mother died suddenly. I think that if she had been able to speak, she would have given charity. Will she receive reward if I give charity on her behalf?”

He ﷺ replied: “Yes.”

— Sahih Muslim: 1004

Imam al-Nawawi explained this hadith by stating that charity on behalf of the deceased is permitted, recommended, reaches them and benefits them.

Building a mosque is particularly suited to this because it can be a form of Sadaqah Jariyah: the building remains and continues serving worshippers.

So a person may build or contribute towards a mosque intending the reward for:

  • a deceased mother;

  • a deceased father;

  • both parents;

  • a husband or wife;

  • a child;

  • another relative;

  • a friend;

  • or another deceased Muslim.

It does not have to be your relative.

Scholarly discussions explicitly state that charity — including building a mosque — may be given for a deceased Muslim whether they were a relative or not.

Build a Mosque for Your Parents

For many Muslims, this is perhaps the most meaningful form of Sadaqah Jariyah.

Your parents spent years building you.

You can help build something whose benefit may continue for them.

A mosque built or supported on behalf of a parent can continue being used for:

  • prayer,

  • Quran,

  • dhikr,

  • Islamic learning,

  • Jumuah,

  • Ramadan worship,

  • and community life.

The Islamic basis is not speculation.

The Prophet ﷺ explicitly approved charity being given for deceased parents.

Can One Mosque Be for Both Parents?

Yes.

You do not necessarily need one mosque for your mother and another for your father.

Shaykh Ibn Baz was asked specifically whether a person could include both deceased parents in one charitable project such as building a mosque.

He replied that there was no problem in including both parents — and even including the donor as well.

So your intention could be for:

your mother and father together

or:

your parents and yourself

or even a wider group of Muslims.

The reward is not limited by our accounting.

As Ibn Baz said: “The generoisty of Allah is vast.”

Do You Have to Wait Until They Die?

No.

This is something many people overlook.

You can give voluntary charity on behalf of someone who is still alive.

Scholars state that voluntary charity benefits both the living and the deceased, and that a person may give charity on behalf of living parents as well.

So you could help build a mosque today for:

your living mother;

your living father;

both parents;

your spouse;

or another Muslim you wish to honour with a lasting charity.

Does the Donor Also Get Reward?

This is an important question.

If you give the reward to your mother or father, have you effectively given away your own reward?

The scholars did not understand it that way.

Al-Nawawi wrote regarding charity on behalf of the deceased that it benefits the deceased and also benefits the person giving the charity.

Shaykh Ibn Baz similarly explained that the deceased receives reward and the donor is also rewarded for their act of goodness and generosity.

So it does not have to be:

“Either I receive the reward or my father does.”

Allah's reward is not a fixed pot that must be divided between two people.

A person can intend charity for someone else and still hope for reward for:

  • giving their wealth;

  • honouring their parents;

  • building a mosque;

  • facilitating worship;

  • and doing good for another Muslim.

That is an important distinction.

Giving reward does not make the donor unrewarded.

Can You Share the Reward?

Yes.

Scholars have also discussed deliberately sharing the reward of a voluntary charity.

Imam Ahmad and Ibn al-Qayyim regarding a person assigning the reward of voluntary charity between themselves and others.

So someone could intend:

“O Allah, accept this mosque project from me and grant its reward to my parents and me.”

Or siblings could jointly contribute towards one mosque for their parents.

Or several members of an extended family could collectively build a mosque as a family Sadaqah Jariyah.

There is no need to manufacture artificial limits where the Shariah has left the matter broad.

Can You Build a Mosque for a Friend?

Yes.

This is another point people sometimes misunderstand.

Charity on behalf of the deceased is not restricted to children or close relatives.

Ibn Qudamah stated:

“Any act of worship a person performs and assigns its reward to a deceased Muslim will benefit them.”

Scholars therefore specifically permit a person to give charity — including building a mosque — for a deceased friend or another Muslim who was not related to them.

Can a Mosque Be for Several People?

Yes.

It does not need to be dedicated to one individual.

Scholarly rulings permit making the reward of charity for more than one person. Shaykh Ibn Baz specifically permitted one project to include both parents and the donor.

That opens many possibilities:

  • One mosque for both parents.

  • One mosque for grandparents.

  • One mosque for several deceased relatives.

  • One mosque for an enter family.

The number of names is not what creates the reward.

The intention and acceptance of Allah matter far more.

Does the Mosque Need Their Name?

No.

This is one of the most important practical distinctions.

Building a mosque on behalf of someone is about intention.

Naming a mosque after someone is a separate issue.

Your parent does not need their name written across the building for the charity to benefit them.

The intention exists in the heart.

The general principle in Islamic worship is that intention is located in the heart and does not require a spoken formula.

So if you donate towards a mosque intending the reward for your deceased mother, the validity of that intention does not depend upon a plaque saying: “Mosque of Mrs X.”

Allah already knows who you intended.

Can You Name the Mosque After Them?

The majority of scholars permitted mosques to be identified by the name of a person, tribe, builder or community.

Imam al-Bukhari himself included a chapter asking whether a mosque may be called “the mosque of Banu so-and-so”.

Ibn Hajar explained that mosques can be attributed to their builders or those associated with them as a means of identification — not ownership.

Al-Nawawi likewise stated that there is no problem in referring to a mosque by someone's name for identification.

So naming may be permissible.

But it is not necessary for the reward.

And there is something worth remembering:

A mosque may carry someone's name, but ultimately the mosque is for Allah.

The plaque is secondary.

The intention is primary.

Your Money or Their Money?

This is where an important distinction is often missed.

There are two completely different scenarios.

Scenario 1: You Use Your Own Money

Your father dies.

You take £5,000 from your own savings and contribute it towards a mosque intending the reward for him.

That is voluntary charity from your wealth, given on his behalf.

This is straightforwardly permitted based on the authentic hadith discussed above.

Scenario 2: You Use Their Estate

Your father dies leaving £50,000.

You decide:

“He would have liked a mosque, so let's take £10,000 from his estate.”

That is different.

Once a person dies, their estate is subject to:

  • debts;

  • valid bequests;

  • and the fixed rights of the heirs.

If the deceased made a valid bequest for a mosque, a charitable bequest may generally be executed from up to one third of the estate, subject to the detailed rules of Islamic inheritance.

The Prophet ﷺ told Sa'd ibn Abi Waqqas when discussing charitable bequests:

“One third — and one third is much.”

Fiqh sources therefore explain that a charitable bequest within one third is executed, while anything beyond that requires the approval of the entitled heirs.

So:

  • Using your own money for your deceased parent is one matter.

  • Taking money from their estate is another.

Do not confuse the two.

If there are inheritance complications, minor heirs, debts or disputed wills, seek proper Islamic and legal advice before using estate funds.

What If They Never Asked for a Mosque?

That does not prevent you from giving charity for them from your own wealth.

The hadith concerning the deceased father is especially relevant:

“My father died and left wealth and did not make a will. Will it benefit him if I give charity for him?”

The Prophet ﷺ answered:

“Yes.”

Likewise, the man whose mother died suddenly explained that he believed she would have given charity had she been able to speak.

Again, the Prophet ﷺ permitted him to give on her behalf.

So your parent did not need to leave instructions saying:

“Build me a mosque.”

You may choose to perform that charity for them yourself.

Building a Mosque or Making Dua?

There is no need to treat them as rivals.

Make dua for your deceased parents and give charity for them.

Both are established.

Some scholars, including Shaykh Ibn Uthaymin, considered regular dua to be the best thing a child can continually offer their deceased parents because the Prophet ﷺ specifically mentioned: “a righteous child who prays for him” in the hadith about deeds continuing after death.

That does not make charity wrong.

It means we should not build a mosque for our parents and then forget to pray for them.

You can do both:

“O Allah, forgive my parents.”

and:

“O Allah, accept this charity on their behalf.”

One costs nothing.

The other may continue serving Muslims for decades.

Does the Deceased Know Who Donated?

We should not claim what Revelation has not told us.

The Permanent Committee for Scholarly Research and Fatwa stated that the texts establish that the deceased benefits from charity and dua, but there is no authentic evidence establishing that the deceased necessarily knows which specific person gave that charity.

A Mosque Is More Than a Memorial

There is an important difference between Islamic charity and simply creating a memorial.

The goal is not:

“I want people to remember my father.”

It is:

“I want Allah to reward my father.”

That changes how the project should be chosen.

The best mosque is not necessarily the one with the largest plaque.

It may be the small mosque in a community that desperately needs one.

The one where Jumuah can finally be established properly.

The one where children will learn Quran.

The one with water and wudu facilities.

The one people actually use.

If the objective is reward for someone you love, then need and benefit should matter more than prestige.

How to Build a Mosque for Someone

The practical process can be simple.

1. Choose Who You Are Giving For

It could be:

  • yourself;

  • one parent;

  • both parents;

  • several relatives;

  • a friend;

  • or a combination of yourself and others.

2. Make the Intention

You do not need a complicated formula.

Simply know in your heart that you are giving this charity for Allah and intending its reward for that person or those people.

3. Choose a Genuine Mosque Need

Look beyond the fundraising headline.

Ask:

  • Does the community actually need the mosque?

  • What are they currently using?

  • How many people will it serve?

  • Who monitors construction?

  • Who will manage the mosque?

  • Who owns the land?

4. Decide How Much to Contribute

You do not have to finance an entire mosque.

A smaller contribution can be pooled with other donations.

For a broader guide to mosque costs, read How Much Does a Mosque Cost?

5. Decide Whether You Want a Dedication

A plaque or project dedication may be offered by some charities.

This is optional.

It does not determine whether the intended person benefits.

6. Keep Making Dua

Do not allow the construction project to replace the simplest and most direct form of goodness for someone you love.

Keep asking Allah to forgive them, have mercy upon them and accept the charity from you.

Frequently Asked Questions

Can I build a mosque for my deceased mother?

Yes. Authentic hadith establishes that voluntary charity may be given on behalf of a deceased mother and that she benefits from it.

Can I build a mosque for my deceased father?

Yes. Sahih Muslim records a man asking specifically whether giving charity would benefit his father who died without leaving a will, and the Prophet ﷺ replied yes.

Can I build one mosque for both parents?

Yes. Shaykh Ibn Baz specifically permitted including both parents in one charitable project.

Can I build a mosque for someone alive?

Voluntary charity may be given on behalf of living Muslims as well as deceased Muslims. Scholarly sources explicitly mention giving charity on behalf of living parents.

Can siblings build a mosque for their parents?

Yes. Family members may contribute together and intend the mosque as ongoing charity for their parents.

Can I include myself in the reward?

Yes. Scholars have permitted sharing the intention of voluntary charity between the donor and others. Ibn Baz specifically stated that a donor could include themselves together with their parents in one project.

Can I build a mosque for a friend?

Yes. Charity on behalf of a deceased Muslim is not restricted to relatives. Arabic scholars explicitly permit charity and mosque building for a deceased friend or unrelated Muslim.

Does the mosque need their name?

No. Reward depends on intention, not a plaque. Naming a mosque after a person for identification is generally permitted according to the majority of scholars, but it is not required.

Can I use money from their inheritance?

Not automatically. A deceased person's estate has rules governing debts, wills and heirs. A valid charitable bequest may generally be executed from up to one third of the estate; beyond that, the rights and approval of heirs become relevant.

Do I also receive reward?

Yes, the donor is also rewarded. Al-Nawawi stated that charity on behalf of the deceased benefits the deceased and the person giving it.

Allah knows best.

Next
Next

72 Rewards of Building a Mosque