Among the signs mentioned by the Prophet Muhammad (PBUH) is a subtle one: Muslims would begin to turn the building of mosques into an arena of pride, rivalry and display. This is not a prediction about Muslims abandoning mosques altogether. It is more uncomfortable than that: even something as sacred as a mosque could be affected by vanity.

For a thoughtful reader, this prophecy is striking because it combines religious insight with social foresight. Mosques would multiply, wealth would enter the Muslim world, architecture would become grand, and some people would measure spiritual success by size, ornamentation and prestige rather than worship, humility and service.

The prophecy itself

Anas ibn Malik reported that the Messenger of Allah (PBUH) said: "The Hour will not be established until people boast to one another about mosques." Reported in Sunan Abi Dawud 449 and Sunan Ibn Majah 739. The report has been graded sahih by al-Albani.

The Arabic phrase yatabaha al-nas fi al-masajid means that people will boast, compete or take pride in mosques. The wording is important. The Prophet (PBUH) did not merely say that mosques would be built, or even that they would be beautiful. Building mosques is a righteous act when done sincerely. The warning is about boasting: turning houses of worship into monuments of status.

Islam does not teach that mosques should be dirty, ugly or neglected. The Prophet's Mosque in Madinah was simple, but it was honoured, cleaned and loved. Later Muslims, as communities grew, needed larger and more durable buildings. A well-designed mosque can help worshippers, serve families, educate children and beautify a neighbourhood. The problem begins when the mosque becomes a trophy: "our dome is bigger", "our minaret is taller", "our marble is more expensive", "our project is more impressive than theirs".

What mosques are meant to be

The Qur'an describes mosques not as monuments to human glory, but as places of faith, prayer and remembrance:

"The mosques of Allah are only to be maintained by those who believe in Allah and the Last Day, establish prayer, give zakah, and fear none but Allah. It is they who are expected to be among the rightly guided." Qur'an 9:18

This verse connects the true maintenance of mosques with belief, prayer, charity and reverence. The Qur'an also says:

"And the mosques are for Allah, so do not call upon anyone along with Allah." Qur'an 72:18

So a mosque's purpose is not to immortalise donors, compete with neighbouring communities or advertise worldly success. Its purpose is to direct hearts away from ego and toward Allah. That is why the prophecy is morally powerful: it warns that even religious construction can become spiritually corrupted.

A sign that unfolded in Muslim history

In the lifetime of the Prophet Muhammad (PBUH), the central mosque in Madinah was extremely simple. Authentic reports in Sahih al-Bukhari describe it as being built with unbaked bricks, with palm-trunk supports and a roof of palm branches. It served as a place of prayer, learning, judgement, charity, consultation and community life. Its simplicity did not reduce its greatness.

After the Prophet's death, Islam spread rapidly. Muslim cities grew. Wealth increased. Larger mosques became necessary in places such as Damascus, Cairo, Baghdad, Cordoba, Istanbul, Delhi and beyond. Many of these mosques were built with sincere intentions and became centres of worship and scholarship. Islamic civilisation produced remarkable architecture, and not every beautiful mosque is blameworthy.

Yet alongside this, the precise danger named in the hadith appeared again and again: rulers, dynasties, wealthy patrons and communities sometimes used mosques to display power and prestige. In some cases, a mosque's grandeur became part of political messaging: a statement that "our rule", "our city", "our sect", "our foundation" or "our donor class" was superior. In the modern world this pattern is even easier to see. Some mosque projects raise huge sums for luxury finishes while local religious education, debt relief, converts, poor families, refugees or youth work remain underfunded. Social media can intensify the problem: architectural images are shared, donor plaques are highlighted, and communities compare projects in a way that resembles branding more than worship.

This does not mean every large or ornate mosque is sinful. The prophecy is not a legal ruling against all architectural excellence. It is a sign of a spiritual disease: when mosque construction becomes a competition of pride.

The strongest counterargument

A sceptical reader may say: "This is not surprising. Human beings have always built impressive religious buildings. Churches, temples and imperial shrines existed long before Islam. Anyone could predict that Muslims, if they gained wealth and power, would eventually do the same."

That is a fair objection. The hadith should not be exaggerated into a claim that no one could ever imagine religious architecture becoming grand. Civilisations often express power through sacred buildings. Islam's own scripture speaks about previous nations with impressive constructions. So the argument is not that the mere existence of large mosques is impossible to foresee.

The stronger point is more specific. The Prophet Muhammad (PBUH), speaking from a poor Arabian community whose mosque was humble and functional, identified a future moral distortion within his own followers: they would boast about mosques. This is not flattery of the Muslim community. It is a criticism. False religious movements usually prefer self-glorifying predictions; this report exposes a future weakness among the believers themselves.

There is also a difference between saying "religious buildings may become grand" and saying that near the end of time, people will compete and boast in relation to mosques. The first is a general sociological observation. The second is a spiritually diagnostic prophecy: wealth will not simply produce better facilities; it will tempt worshippers and leaders to transform sacred service into status competition. That diagnosis has proved painfully accurate.

Authenticity and caution

Because this article is about a fulfilled prophecy, authenticity matters. The central report cited above is not a fabricated narration being used for effect. It is found in the Sunan collections of Abu Dawud and Ibn Majah, narrated from Anas ibn Malik, and has been graded sahih by al-Albani. Sunni scholars may sometimes differ over the grading details of individual reports, but this narration is widely used as an acceptable proof for this sign.

At the same time, caution is needed. There are popular statements about mosque decoration and end-time signs that circulate without reliable chains, or with unclear attribution. We do not need weak reports to make this point. The authentic wording is sufficient: people will boast about mosques.

Classical Muslim scholars also understood that outward construction is not the real measure of a mosque. A building can be physically maintained while spiritually neglected. A community might raise an impressive structure but fail to fill it with prayer, Qur'an, charity, knowledge, mercy and unity. Conversely, a simple prayer space may be greater with Allah if it is alive with sincerity.

What fulfilment looks like today

The fulfilment of this prophecy can be seen in several recurring patterns:

  • Architectural rivalry: communities or patrons competing over size, domes, minarets, chandeliers, carpets and imported materials.
  • Donor prestige: projects becoming associated with names, plaques, status and public praise more than hidden charity.
  • Neglect of priorities: spending lavishly on decoration while essential services, education, maintenance, accessibility or the poor are overlooked.
  • Empty grandeur: mosques admired as landmarks but not filled for daily prayers, learning and community care.
  • Online display: sacred spaces presented as symbols of institutional branding and communal superiority.

Again, none of this means Muslims should build poorly or without beauty. Islam recognises beauty, order and excellence. The issue is intention and proportion. A mosque should be beautiful in the way humility is beautiful, not in the way arrogance is impressive.

Why this sign matters

This prophecy matters because it reveals a deep feature of Islam's moral vision. Islam does not only warn against obvious sins. It warns against the ego hiding inside acts of worship. A person can boast about wealth, lineage, knowledge, charity - and even mosques. The Prophet Muhammad (PBUH) taught his community to fear not only poverty, but also the spiritual tests that come with wealth and success.

For the believer, the hadith is a call to examine intentions. For the sceptic, it is one more piece in a wider pattern of prophetic insight: concise statements, spoken in a very different historical setting, that continue to describe human and religious behaviour with remarkable accuracy.

Conclusion

The prophecy that people would boast in the construction of mosques has been fulfilled repeatedly in Muslim history and is visible in many places today. It is not a condemnation of every large or beautiful mosque, but a warning against pride entering sacred work. The house of Allah is meant to humble the human being. When it becomes a stage for human boasting, the Prophet's words have come to life.