Skip to content

بناء مسجد قباء

Building of Masjid Quba

Quba, outskirts of Madinah

1 AH

Rabi' al-Awwal

622 CE

Establishment

MakkahMadinah

Event 33 of 49

Ar-Raheeq al-Makhtum says the Prophet ﷺ reached Quba on Monday 8 Rabi' al-Awwal and stayed four days, Monday to Thursday, with the Banu Amr ibn Awf, and that the foundation of the mosque of Quba was laid during that time. Sahih al-Bukhari 3906, narrated by Urwah ibn az-Zubayr, says he alighted among the Banu Amr ibn Awf on a Monday in Rabi' al-Awwal, that the mosque founded on piety was established while he was there, and that he prayed in it. Sahih al-Bukhari 428, narrated by Anas ibn Malik, says he stayed among them for fourteen nights, so the reports differ on the length of the stay.

Why this matters

Sahih al-Bukhari 3906 and Sahih Muslim 1398a differ on which mosque is the one founded on piety, a description that Quran 9:108, listed with this event, also uses. Bukhari places its founding during the stay at Quba, and sunnah.com's English adds the bracketed words "mosque of Quba". In Muslim 1398a, Abu Said al-Khudri asks the Prophet ﷺ which of the two mosques was founded on piety; he takes a handful of pebbles, throws them on the ground and answers that it is the mosque in Madinah. Jami' at-Tirmidhi 324, narrated by Usaid ibn Zuhair al-Ansari, has the Prophet ﷺ saying that prayer in the mosque of Quba is like an Umrah; sunnah.com gives it the grading hasan (Darussalam). Sayyid Ali Asghar Razwy, in A Restatement of the History of Islam and Muslims, calls Quba the first mosque built after the advent of Islam.

Quran references

لَا تَقُمْ فِيهِ أَبَدًۭا ۚ لَّمَسْجِدٌ أُسِّسَ عَلَى ٱلتَّقْوَىٰ مِنْ أَوَّلِ يَوْمٍ أَحَقُّ أَن تَقُومَ فِيهِ ۚ فِيهِ رِجَالٌۭ يُحِبُّونَ أَن يَتَطَهَّرُوا۟ ۚ وَٱللَّهُ يُحِبُّ ٱلْمُطَّهِّرِينَ

Surah At-Tawbah, 108

Do not stand [for prayer] within it - ever. A mosque founded on righteousness from the first day is more worthy for you to stand in. Within it are men who love to purify themselves; and Allah loves those who purify themselves.

Saheeh International

Hadith references

Sahih al-Bukhari, #3906

Narrated by: Urwah ibn az-Zubayr

Grading: Sahih

and established the mosque (mosque of Quba) which was founded on piety. Allah's Messenger (ﷺ) prayed in it

English translation from sunnah.com, for this collection and number

Excerpt: the narration continues beyond these words

Sahih al-Bukhari, #428

Narrated by: Anas ibn Malik

Grading: Sahih

When the Prophet (ﷺ) arrived Medina he dismounted at `Awali-i-Medina amongst a tribe called Banu `Amr bin `Auf. He stayed there For fourteen nights.

English translation from sunnah.com, for this collection and number

Excerpt: the narration continues beyond these words

Sahih Muslim, #1398a

Narrated by: Abu Said al-Khudri

Grading: Sahih

Abu Salama b. Abd al-Rabman reported: 'Abd al-Rabman b. Abu Sa'id al-Khudri (Allah be pleased with him) happened to pass by me and I said to him. How did you hear your father making mention of the mosque founded on Piety? He said: My father said: I went to Allah's Messenger (ﷺ) as he was in the house of one of his wives, and said: Messenger of Allah, which of the two mosques is founded on piety? Thereupon he took a handful of pebbles and threw them on the ground and then said: This is the very mosque of yours (mosque at Medina). He (the narrator) said: I bear witness that I heard your father making mention of it.

English translation from sunnah.com, for this collection and number

Jami' at-Tirmidhi, #324

Narrated by: Usaid ibn Zuhair

Grading: Hasan

Abu Al-Abrad the freed slave of Banu Khatmah narrated that he heard Usaid bin Zuhair Al-Ansari - and he was one of the Companions of the Prophet - narrated that : the Prophet said: "The Salat in Masjid Quba is like Umrah."

English translation from sunnah.com, for this collection and number