Anbiya

Masjid Quba — The First Mosque in Islam

مَسجِدُ قُبَاء — أَوَّلُ مَسجِدٍ فِي الإِسلَام

Medina (Quba district, 5 km south of Masjid al-Nabawi), Saudi Arabia
medinaqubafirst-mosqueprophethijrasunnahumrah-reward

Masjid Quba is the first mosque ever built in Islamic history — established by the Prophet Muhammad (SAW) himself when he arrived at Quba on the outskirts of Medina during the Hijra (migration) in 1 AH / 622 CE. The Prophet laid the first stones of the mosque with his own blessed hands, and Imam Ali (AS) carried and placed stones alongside him. The construction took several days before the Prophet continued into Medina proper. The Prophet (SAW) said about this mosque: 'Whoever purifies himself in his house and then comes to Masjid Quba and prays there — it is for him like an Umrah.' The mosque has been expanded and rebuilt multiple times over the centuries; the current structure is a large modern complex. It is located in the Quba neighborhood, approximately 5 km south of Masjid al-Nabawi. The Quran references it: 'A mosque founded on piety from the first day is more worthy for you to stand in' (9:108) — commentators identify this as Masjid Quba.

Why it Matters

The Prophet built Masjid Quba with his own hands alongside Imam Ali (AS) — making it one of the most historically charged sites in Islam. The hadith equating prayer there with Umrah reward means that Bohra pilgrims visiting Medina make the short journey to Quba and offer 2 raka'ats, following the prophetic practice. The Prophet (SAW) himself used to visit Masjid Quba every Saturday, traveling on foot or by mount, and praying 2 raka'ats there. Following his sunnah in this is an act of special connection with his Medina life.

Dua when visiting

اللَّهُمَّ صَلِّ عَلَى مُحَمَّدٍ وَآلِ مُحَمَّدٍ وَبَارِك فِي هَذَا الْمَسجِدِ الَّذِي بَنَاهُ نَبِيُّكَ بِيَدِهِ الشَّرِيفَة

Get directions Open Medina (Quba district, 5 km south of Masjid al-Nabawi), Saudi Arabia in Google Maps

Also in this region

4
All Mazaraat