1 AH (622 CE) major

Building of Masjid al-Nabawi

بناء المسجد النبوي

Masjid al-Nabawi, Medina

# The Building of Masjid al-Nabawi

The First Act of the Medinan Community

The Prophet ﷺ arrived in Medina and the first communal project of the new Islamic state was the construction of a mosque. This was not accidental — it was the same pattern that had been established at Quba, where the Prophet ﷺ had laid the first stone of Masjid Quba before doing anything else upon entering the Medinan region. The mosque was not merely a place of worship; it was the organizing center of the entire community — the space from which governance, justice, education, shelter, and communal life all radiated.

The land selected was the spot where al-Qaswa, the Prophet's ﷺ camel, had knelt and refused to move — near the neighborhood of Banu Najjar, a date-drying ground belonging to two orphan boys, Sahl and Suhayl. The Prophet ﷺ insisted on purchasing it rather than accepting it as a gift, and Abu Bakr paid the price of ten dinars. This insistence on fair purchase — even when the community was offering freely — established a pattern of ethical acquisition that would define the Prophet's ﷺ governance throughout his Medinan years.

The Construction

The Prophet ﷺ himself participated in the building of Masjid al-Nabawi. The narrations describe him carrying bricks and stones alongside the companions, working with his hands, and reciting poetry to encourage the workers:

"O Allah, there is no good except the good of the Hereafter — so have mercy on the Ansar and the Muhajirin."

The companions worked alongside him, singing:

"If we sit while the Prophet works, that would be straying from the path."

The initial structure was simple. The walls were of dried brick (adobe); the roof was of palm fronds and stalks supported by palm trunks. The floor was sand and gravel. The qiblah (direction of prayer) was initially toward Jerusalem — consistent with the practice of the time — and would change to Mecca approximately seventeen months after the Hijra. The mosque was approximately one hundred cubits by one hundred cubits in its initial form, though dimensions vary slightly across sources.

Three doors were made, and a covered area (the suffah) was established at the northern end — a shaded section that became a shelter for the poor and homeless companions who had no family or home in Medina, known as the Ahl al-Suffah (the People of the Bench). They slept in the mosque, learned from the Prophet ﷺ directly, and served as what might be called a resident community of scholars and seekers — the first institutionalized Islamic educational community in history.

The Rooms of the Wives

Adjacent to the mosque, the Prophet ﷺ also oversaw the construction of the hujurat — small rooms attached to the eastern wall — as dwellings for his wives. These rooms were of the same simple materials as the mosque itself: dried brick, palm frond roofs, low ceilings. Aishah described her room as so small that when the Prophet ﷺ prayed in it while she was sleeping, he would move her feet to make space for his prostration. The simplicity of these dwellings — in which the Prophet ﷺ lived for the rest of his life — was a statement of deliberate choice, not of poverty: he had access to resources but chose not to use them for personal comfort.

The Mosque as the Center of the Community

From the moment Masjid al-Nabawi was completed — approximately seven months after the Hijra, when the Prophet ﷺ moved from Abu Ayyub al-Ansari's house — it served as the nerve center of the Islamic community in Medina. The Prophet ﷺ led the five daily prayers there. He delivered khutbahs there. He received delegations from tribes and kingdoms there. He adjudicated disputes there. He taught there. His companions gathered there to learn the Quran and the practices of Islam.

The Ahl al-Suffah — the resident community of poor and homeless companions — were housed, fed, and educated there. Abu Hurayrah, the companion who narrated the most hadith of any individual, was among the Ahl al-Suffah, living in the mosque's shade, listening to the Prophet ﷺ constantly, and absorbing the teaching with a devotion that his later hadith record reflects.

Masjid al-Nabawi was also where the first Islamic social institutions took shape organically. The poor were provided for. The educated taught. The leaders governed. The sick were sometimes sheltered there. The dead were sometimes prayed over there. The mosque was not a specialized religious building set apart from ordinary life — it was the center from which all aspects of the community's life were organized.

The Expansion Through the Centuries

Masjid al-Nabawi has been expanded repeatedly across Islamic history — under the Umayyad Caliphs, the Abbasids, the Mamluks, the Ottomans, and in the modern era by the Kingdom of Saudi Arabia, which has undertaken massive expansions that have made it one of the largest mosques in the world, capable of accommodating several million worshippers during the Hajj season. The core of the Prophet's ﷺ original mosque — the Rawdah, the area between his minbar and his grave — is considered by scholars to be one of the gardens of Paradise, based on the Prophet's ﷺ hadith: "Between my house and my minbar is a garden from the gardens of Paradise, and my minbar is over my basin." Millions of Muslims visit each year hoping to pray in the Rawdah.

The grave of the Prophet ﷺ — within what was his room, adjacent to the mosque — is at the center of Masjid al-Nabawi as it stands today. The green dome that marks the grave is one of the most recognized architectural symbols in the Islamic world. The mosque is the second holiest site in Islam, after Masjid al-Haram in Mecca — and the Prophet ﷺ said that a prayer in Masjid al-Nabawi is worth a thousand prayers in any other mosque except Masjid al-Haram.

The building that began with palm fronds and dried brick in 1 AH became the second most sacred site in the world for 1.8 billion people. The companions who carried bricks alongside the Prophet ﷺ — singing that it would be straying from the path to sit while he worked — were laying the foundation of something that would outlast every empire that would ever rise and fall on earth.

Sources: Sahih al-Bukhari (Kitab al-Salah, Kitab Manaqib al-Ansar); Sahih Muslim (Kitab al-Masajid); Ibn Hisham, al-Sira al-Nabawiyya; Ibn Kathir, al-Bidayah wan-Nihayah; Ibn Sa'd, al-Tabaqat al-Kubra; al-Samhudi, Wafa al-Wafa

Sources

  • Sahih al-Bukhari
  • Ibn Hisham's Sirah
  • Sunan Abu Dawud