Skip to main content
Construction of the Quba Mosque
Location

Construction of the Quba Mosque

The first mosque built by Prophet Muhammad upon his arrival in Medina, symbolizing the beginning of Islamic architecture.

The Quba Mosque (Masjid Quba) holds the distinction of being the first mosque ever built in Islam. Its construction began upon Prophet Muhammad's (peace be upon him) arrival in the outskirts of Medina in 622 CE during the Hijrah — the historic migration from Mecca. Before even entering the city of Medina itself, the Prophet stopped in the village of Quba and personally laid the first stones of this mosque, establishing the institutional foundation of Islamic worship.

According to Islamic tradition, Prophet Muhammad spent 14 days in Quba before continuing to Medina, where he would build Al-Masjid an-Nabawi (the Prophet's Mosque). During his stay, he participated in the physical construction of the Quba Mosque alongside his companions, mixing mortar and placing bricks. This act of communal labor set a powerful precedent for the egalitarian ethos of early Islam, demonstrating that the Prophet was willing to work alongside ordinary people.

The Quba Mosque holds special significance in the Quran. In Surah At-Tawbah (9:108), Allah describes a mosque "founded on piety from the first day," which Islamic scholars widely identify as Masjid Quba. Prophet Muhammad is reported to have said that praying two rak'ahs (units of prayer) in the Quba Mosque is equivalent in reward to performing an Umrah (minor pilgrimage). He made it a practice to visit the mosque regularly, often traveling to it on Saturdays.

Over the centuries, the Quba Mosque has been rebuilt and expanded several times. The Ottoman Empire carried out renovations, and the most significant modern expansion was completed in 1986 under Saudi King Fahd, which transformed the modest structure into a large complex capable of accommodating over 20,000 worshippers. Despite its modern grandeur, the mosque's fundamental significance remains unchanged — it stands as the place where Islamic congregational worship first took physical form.

Key Details

  • Construction Date 622 CE (1 AH)
  • Location Quba, southern Medina, Saudi Arabia
  • Builder Prophet Muhammad (peace be upon him) and his companions
  • Significance First mosque built in Islam
  • Quranic Reference Surah At-Tawbah 9:108 — "founded on piety from the first day"
  • Current Capacity Over 20,000 worshippers

Timeline

Prophet Muhammad Arrives in Quba

Construction Begins

Early Expansions

Ottoman Era Renovations

Major Saudi Expansion

Active Pilgrimage Site

Sources & Research

Every fact on Temples.org is backed by verified Sources & Research. Each piece of information is rated by source tier and confidence level.

Tier A
Official Primary source from official institution
Tier B
Academic Peer-reviewed or encyclopedic source
Tier C
Secondary News articles, travel sites, or general reference
Tier D
Commercial Tour operators, booking agencies, or promotional content
View All Sources (4)
Field Source Tier Retrieved
Quba Mosque Historical Overview Wikipedia (opens in a new tab) B 2026-02-13
Quranic Reference Quran.com (opens in a new tab) A 2026-02-13
Mosque Architecture and History Madain Project (opens in a new tab) B 2026-02-13
Saudi Expansion Details Visit Al Madinah (opens in a new tab) C 2026-02-13

Continue Exploring