Building a Mosque in Islam: Complete Guide
A mosque begins long before the first brick is laid.
It begins with a community that needs somewhere to pray. A child who needs somewhere to learn the Quran. A family walking further than they should for Jumuah. Worshippers gathering in a temporary structure that cannot properly protect them from heat, rain or wind.
Building a mosque gives that community something permanent: a place in which Allah is worshipped, the Quran is taught, Muslims gather, and future generations can grow around their faith.
But what does Islam actually say about building a mosque? What is the reward? Does it count as Sadaqah Jariyah? Can you build one for someone who has died? How much does a mosque cost? Can several people contribute? Can Zakat be used? And how should a genuine mosque project be selected and managed?
This guide brings those questions together.
1- Building a Mosque in Islam
Allah says:
“The mosques of Allah are maintained by those who believe in Allah and the Last Day, establish prayer, give Zakat and fear none but Allah.”
— Surah al-Tawbah, 9:18
There is something important in the Arabic wording.
Allah uses the word يعمر [ya'muru], from which comes the idea of maintaining, developing and bringing a mosque to life.
Classical Quranic commentary shows that the concept is wider than simply constructing walls.
Al-Tabari explains the verse in terms of those who maintain the mosques as they should, while other classical commentators included repairing them, caring for them, furnishing them, illuminating them and — crucially — filling them with worship, remembrance and knowledge.
That gives us an important starting point:
A completed building is not the final objective.
The real objective is a mosque that lives.
A mosque in which the adhan is called. A mosque in which salah is established. A mosque where the Quran is recited and taught. A mosque that remains useful to the Muslims around it.
The building is the means. Worship is the purpose.
2- Why Build a Mosque?
Few buildings have the potential to serve so many different parts of Muslim life at once.
A well-placed mosque can provide a permanent home for:
the five daily prayers;
Jumuah;
Ramadan and Tarawih;
Quran learning;
Islamic education;
children growing up around the mosque;
gatherings and community life;
charitable and welfare activity;
and generations of Muslims who may continue benefiting long after the original donors have died.
This is why mosque building should never be reduced to bricks, cement and square metres.
You are building capacity for worship.
And because these benefits can continue for years, mosque building occupies a special place among charitable projects.
3- Reward for Building a Mosque
The best-known evidence is exceptionally powerful.
Uthman ibn Affan reported that the Prophet Muhammad ﷺ said:
“Whoever builds a mosque seeking the Face of Allah, Allah will build for him its like in Paradise.”
— Sahih al-Bukhari 450; Sahih Muslim 533
The context is worth knowing.
Uthman mentioned this hadith when people criticised aspects of his rebuilding of the Prophet's Mosque. The narration therefore comes to us in the context of an actual mosque construction project, not merely as an abstract encouragement.
But one phrase in the hadith deserves particular attention:
“Seeking the Face of Allah.”
The promise is not merely attached to construction.
It is attached to sincerity.
A mosque is not fundamentally a monument to its donor. It is a place built for Allah.
The name attached to a project, the amount contributed or the public recognition surrounding it should never become more important than the reason it was built in the first place.
This also means that a small sincere contribution should not be dismissed simply because somebody else donated more.
Scholarly discussions on contributing towards mosque construction explain that anyone who participates receives reward. A person therefore does not necessarily need to finance an entire building alone to participate in this good.
Coming Soon next: Reward for Building a Mosque
4- Is Building a Mosque Sadaqah Jariyah?
Building and maintaining a mosque is widely treated by scholars as a form of Sadaqah Jariyah — a deed that constantly earns rewards on behalf of its donor.
The Prophet ﷺ said:
“When a person dies, his deeds come to an end except for three: Sadaqah Jariyah [ongoing charity], beneficial knowledge, and a righteous child who prays for him.”
— Sahih Muslim 1631
The hadith begins:
“When a person dies, his deeds come to an end except for three”
The principle is that some good acts continue producing benefit even after the person responsible for it has died.
A mosque is a clear example of an asset whose benefit can continue.
The building remains. People continue praying. Children continue learning. Worship continues taking place.
That is why scholars explicitly include building, preparing and contributing towards mosques among forms of Sadaqah Jariyah.
5- Can You Build a Mosque for Someone Else?
Yes, mosque projects are often funded on behalf of parents, relatives and loved ones.
The clearest evidence concerns charity given for somebody who has died.
A man asked the Prophet ﷺ about his mother, who had died suddenly:
“Will she receive a reward if I give charity on her behalf?”
The Prophet ﷺ replied:
“Yes.”
— Sahih al-Bukhari 1388; Sahih Muslim 1004
The hadith authorities classify this narration directly under the subject of charity reaching the deceased.
This establishes an important principle: charity can be given on behalf of someone who has died.
A son may therefore wish to contribute towards a mosque for his mother. Siblings may contribute together for their parents. Someone may give for a spouse, relative or another deceased Muslim.
There are further questions about intention, naming, shared donations and giving on behalf of people who are still alive. Those deserve a proper discussion rather than being squeezed into a few sentences here.
Coming Soon: Building a Mosque for Someone Else
6- How Much Does a Mosque Cost?
There is no universal price for building a mosque.
Two mosques serving a similar number of worshippers may have very different costs.
Factors can include:
country and region;
size and capacity;
site conditions;
construction materials;
labour;
access to water;
wudu facilities;
toilets;
electricity;
flooring;
ventilation;
sound systems;
educational space;
transport and access;
and the wider specification required by the community.
Legacy 99's current register of its first nine mosque projects shows agreed project costs ranging from approximately £11,000 to £20,000.
The interesting point is that cost is not simply about size.
For example, Masjid Al-Malik in Uganda was built with capacity for around 150 worshippers and included a wudu area, sound system and community water well, with a recorded budget of £11,500. The community had previously relied on a structure made from banana fibre and trees which was particularly difficult to use during rainy weather.
By contrast, Masjid Al-Quddus in Djibouti, with capacity for around 100 worshippers, had a £20,000 budget and included wudu facilities, a sound system and water infrastructure. The previous mosque had become severely dilapidated and required reconstruction.
That comparison teaches an important lesson:
The cheapest mosque is not automatically the best mosque, and the largest mosque is not automatically the most valuable project.
Cost has to be understood alongside need, location, specification and long-term usefulness.
Our dedicated cost guide will examine Legacy 99's real projects in much greater detail.
Coming Soon: How Much Does a Mosque Cost?
7- Must You Fund the Whole Mosque?
No.
Mosques have historically been communal institutions, and mosque construction can likewise be a collective effort.
One person may fund a substantial part of a project. Hundreds of people may give smaller amounts. A family may contribute together. People may donate once or regularly until sufficient funds are available.
When asked about several people contributing towards one mosque, Shaykh Ibn Uthaymin explained that each person is rewarded, in addition to the good deed of cooperating with others to bring the mosque into existence.
That matters because mosque building should not become something ordinary Muslims assume is only available to wealthy donors.
At Legacy 99, donations towards the mosque-building mission is pooled, including one-off and monthly contributions, allowing supporters to participate without personally financing an entire project.
A mosque costing £15,000 does not require one person with £15,000.
It requires enough people willing to build it together.
8- How to Build a Mosque
A successful mosque project should not begin with:
“Where can we put a mosque?”
A better first question is:
“Where is a mosque genuinely needed?”
That distinction matters.
Islamic charity should primarily solve a genuine need.
A sound mosque project can be thought of in seven stages.
1. Identify Genuine Need
Understand the community first.
How many Muslims live there?
Where are they currently praying?
Is there another suitable mosque nearby?
Is the existing prayer space unsafe, overcrowded, temporary or inadequate?
Would a new mosque genuinely improve religious life?
The principle should be simple:
need before prestige.
Shaykh Ibn Uthaymin makes a similar point when discussing whether it is preferable to build a small mosque independently or contribute towards a larger one: where one community has a greater need, relieving that need can take priority.
2. Check the Land and Delivery Partner
A mosque should not be built on uncertainty.
Before significant funds are committed, the organisation should understand who controls the land, who is delivering the construction, what responsibilities each party carries and what will happen to the building after completion.
When a project is overseas, reliable local partners become particularly important.
Legacy 99 ensures that all delivery partners undergo due diligence before project funding is approved.
3. Agree the Mosque Specification
Not every community needs the same mosque.
A project might require:
a prayer hall;
wudu facilities;
toilets;
reliable water;
a sound system;
suitable flooring;
Quran teaching space;
women's facilities;
ventilation;
electricity;
or additional facilities based on local circumstances.
The specification should follow need, not simply a standard template.
4. Set the Budget
A transparent budget helps prevent confusion later.
Donors should understand the agreed project cost and, where relevant, what the budget includes.
The construction budget should match the agreed scope rather than starting with an attractive fundraising number and discovering the real cost halfway through the build.
5. Fund the Mosque
Funding can come from a large donor, multiple donors or a wider campaign.
For most mosque construction, one-off donations is the straightforward form of giving.
Legacy 99 facilitates both single and recurring donations.
The Zakat question is different and has its own Islamic ruling, which we discuss below.
6. Build and Monitor
Construction should not disappear into a black box once fundraising ends.
There should be agreed milestones, evidence of progress and financial oversight.
Legacy 99 pursues staged funding together with progress and financial reporting.
7. Complete, Handover and Maintain
Opening day is not the final test of a mosque project.
A better question is:
What will this mosque look like five or ten years from now?
Who will look after it?
Who organises cleaning?
Who pays recurring costs?
Who ensures water and electricity continue?
Who organises the imam or prayer leadership?
Who protects the building from deterioration?
A beautiful mosque without sustainable local management can become a future problem rather than a lasting solution.
Coming Soon: How to Build a Mosque: Step-by-Step
9- What Should a Mosque Include?
There is no single specification that every mosque must follow.
A rural mosque serving 100 worshippers should not automatically be designed like a large urban Islamic centre.
At its simplest, the project must provide a suitable place for salah.
From there, the specification depends on genuine need.
Useful facilities may include:
Prayer space — sufficient for the expected congregation.
Wudu facilities — particularly where worshippers cannot easily perform ablution nearby.
Water access — sometimes requiring a well, tank or other local solution.
Toilets — where appropriate and feasible.
Women's facilities — where the community requires them.
Quran learning space — enabling children and adults to study.
Sound equipment — where appropriate for prayer and teaching.
Lighting and electricity — especially where evening classes and prayers take place.
Ventilation and weather protection — basic but essential in hot, humid or wet climates.
Accessible design — allowing elderly and disabled worshippers to use the mosque where reasonably possible.
10- How Mosques Transform Communities
The impact of building a mosque becomes clearer when we stop thinking about the building and start thinking about everything that happens inside it.
Consider Masjid Al-Malik in Uganda.
Before the project, the community was using a fragile mosque structure made from banana fibre and trees. Rain created serious problems for worshippers.
The completed mosque provided a permanent prayer space for around 150 people, alongside a wudu area and community water well. Legacy 99 also identifies Quran and Islamic studies among the intended community uses.
One construction project therefore addressed several needs at once:
worship gained a permanent home;
water and purification became easier;
children and adults gained a place for Islamic learning;
and the community gained an institution capable of serving it repeatedly rather than a one-off distribution.
This is one reason mosque building can have such long-lasting impact.
The value of a mosque is not measured only by how many people can fit inside on opening day.
Its real impact may unfold across thousands of prayers, years of Quran lessons, Ramadans, Jumuah congregations and children who grow up knowing the mosque as part of normal Muslim life.
At the time of producing this article, Legacy 99 reports nine completed mosques across its completed project portfolio.
Coming Soon: How Mosques Transform Communities
11- Can Zakat Build a Mosque?
This requires care.
Allah specifies eight categories for Zakat in Surah al-Tawbah, verse 60.
The classical majority of Muslim jurists did not treat ordinary mosque construction as one of those categories.
Al-Tabari, in his Arabic tafsir of the verse, explains fi sabilillah in this context in relation to military expeditions in Allah's cause. Ibn al-Arabi similarly records the established classical interpretation when discussing this category.
Contemporary fatwa authorities have likewise stated the majority position that mosque construction should not ordinarily be funded from Zakat. This includes Shaykh Ibn Baz and Egypt's Dar al-Ifta.
There have been broader interpretations of fi sabilillah among some scholars, so this should not be presented as though no discussion has ever existed.
However, someone wishing to fund mosque construction can avoid the issue entirely by using ordinary voluntary charity rather than designated Zakat funds.
Because this is a detailed fiqh question, our dedicated guide will examine the evidence and scholarly positions properly.
Coming Soon: Can Zakat Build a Mosque?
12- How to Choose a Mosque Charity
A mosque project can involve thousands of pounds and may be built thousands of miles away from the donor.
Trust therefore matters.
Before funding a mosque, consider asking:
Is the organisation identifiable?
Can you see who is responsible for it?
If operating as a charity in the UK, is its registration information available?
How is the community selected?
A charity should be able to explain why the mosque is needed rather than merely identifying an available construction site.
Is there an agreed specification?
You should understand what is actually being built.
Is the cost clear?
Projects inevitably vary, but donors should not be left guessing about the overall budget for the project.
Is construction monitored?
Look for progress photographs, milestones or other evidence rather than only before-and-after marketing.
Who owns or controls the site?
Long-term arrangements matter.
What happens after completion?
Who manages and maintains the mosque?
A serious mosque-building charity should think beyond inauguration day.
Coming Soon: How to Choose a Mosque Charity
13- Building Mosques Around Real Need
There is a temptation in charity to measure impact by what photographs well.
Mosque building requires a different mindset.
Sometimes the most valuable mosque may not be the largest.
It may be the one replacing a leaking temporary structure.
The one serving a village with no suitable prayer space.
The one giving children somewhere to learn Quran.
The one whose water facilities make wudu possible without hardship.
The one that quietly serves five prayers a day, every day, year after year.
The Sunnah directs our attention toward sincerity.
Sound charity practice directs our attention toward need.
Good project management directs our attention toward sustainability.
Bring those three together and mosque construction becomes more than putting up a building.
It becomes the creation of a place built for Allah, needed by people and capable of lasting.
14- Building 99 Mosques
Legacy 99 is a UK registered charity with a focused mission: to build 99 mosques around the world, each named after one of Allah's Beautiful Names.
At the time of producing this article, we have built nine completed mosques.
Donate here to build 99 mosques.
Frequently Asked Questions
What is the reward for building a mosque?
The Prophet ﷺ said that whoever builds a mosque seeking Allah's pleasure will have a house built for them in Paradise. The authentic narration is reported in Sahih al-Bukhari and Sahih Muslim. Sincerity is an important part of the hadith.
Is building a mosque Sadaqah Jariyah?
Scholars commonly include building and contributing towards mosques among forms of Sadaqah Jariyah because their benefit can continue over time. The Prophet ﷺ identified ongoing charity as one of the deeds whose benefit can continue after death.
Do I need to fund a whole mosque?
No. People can contribute collectively. Scholars have discussed shared mosque construction and stated that all contributors receive reward.
Can I build a mosque for my parents?
You can give charity on behalf of another person. There is particularly clear authentic evidence establishing charity on behalf of someone else.
Can I build a mosque for someone deceased?
Yes. Authentic hadith establishes that charity given on behalf of a deceased person can benefit them.
How much does a mosque cost?
There is no universal cost. At the time of producing this article, Legacy 99's mosque builds range from approximately £11,000 to £20,000, with costs affected by location, capacity, site conditions and facilities.
How long does building a mosque take?
Construction time depends on the country, project specification, site, weather, supply chain and local circumstances. At the time of producing this article, Legacy 99 mosque construction projects typically take around three to six months to complete.
What should a mosque include?
At minimum, a mosque requires a suitable prayer space. Depending on local need, projects may also include wudu facilities, water, toilets, Quran learning space, sound equipment, lighting, women's facilities and other essential infrastructure.
Can Zakat be used to build a mosque?
No. The majority classical position is that ordinary mosque construction is not one of the eight designated recipients of Zakat in Quran 9:60. Voluntary Sadaqah can instead be used for mosque construction.
How do I know a mosque charity is trustworthy?
Look for clear charity information, evidence of genuine community need, project budgets, local-partner checks, construction monitoring, progress updates and completed projects.