islam.museum

The building of the Prophet's Mosque

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

c. 27 September 622 CE · Rabi' I 1 AH

Medina

Soon after arriving in Medina, the Prophet and his companions built a mosque and living quarters on a plot of land, a model for later mosques.

Depth

At a glance

Era
The Prophetic Era
Region
Arabia
Review
Draft Completeness 2/5 · Help complete it

In time

610620630640

In space

Medina

Map: Natural Earth, public domain · places and route from the graph

Mosques

Summary

On reaching Medina the Prophet lodged among Banu al-Najjar on Friday 12 Rabi' al-Awwal 1 AH (27 September 622 CE), staying at the house of Abu Ayyub al-Ansari until he built his mosque and dwellings. 1

Buying and preparing the land

The Prophet's camel knelt at a drying-yard belonging to two orphan boys of the Ansar in the care of As'ad ibn Zurara; the Prophet called them and bargained for the yard to make it a mosque, and they said — we give it to you — but he refused until he bought it from them for ten dinars, which Abu Bakr paid. 1 2

The place held polytheist graves, palms, ruins and gharqad trees; the Prophet ordered the polytheist graves exhumed, the ruins levelled, and the palms and trees cut down and lined up in the mosque's qibla wall. 1 3

The building

The Prophet himself joined his companions of the Muhajirun and Ansar in carrying the bricks and stones; the mosque's supports were of stone, its walls of mudbrick and clay, its roof of palm fronds, its pillars palm trunks, and its floor spread with sand and pebbles. 1 4

The qibla then faced Jerusalem; the mosque was given three doors, its length about a hundred cubits and its width near that, and the apartments of his wives were built beside it. The mosque was a seat of worship, a college of learning, a starting-point for governing the community's affairs, and a shelter for the poor Muhajirun at the Suffa. 1

Connections

Occurred at
Medina
Had participant
MuhammadAbu Ayyub al-AnsariAs'ad ibn Zurara
Part of
The Prophetic Era
Caused by
The Hijra

People and things also explored

The HijraThe Pledges of AqabaThe brotherhood of the Muhajirun and AnsarThe change of the qiblaThe Constitution of MedinaThe prescription of the Ramadan fastThe marriage of Fatima and AliThe Message

Sources

  1. al-Raheeq al-Makhtum — Safi al-Rahman al-Mubarakpuri, p. 184
  2. Zad al-Ma'ad — Ibn Qayyim al-Jawziyya, 2/56
  3. Sahih al-Bukhari, 1/71
  4. Sahih al-Bukhari, 1/555
  • Ibn Ishaq / Guillaume, The Life of Muhammad (1955)
  • Watt, Muhammad at Medina (1956)
  • Lings, Muhammad (1983)
Cite this page

islam.museum contributors. “The building of the Prophet's Mosque”. islam.museum, https://islam.museum/en/event/prophets-mosque-built/. CC BY-SA 4.0. Accessed 2026-10-12.

Improve this page on GitHub · Report an error · JSON

Wing

Time

Eras, timelines, this day in history, any year in the Islamic world.
Related

The Hijra

The migration of the Prophet Muhammad and his followers from Mecca to Medina in 622 CE, the event from which the Islamic calendar is counted.