Secondary sourceArtifact622 (traditional founding); current structure 1980s
Quba Mosque
622 (traditional founding); current structure 1980s
Traditionally the first mosque in the world, said to have been founded by Muhammad himself on his arrival near Medina during the Hijra.
Tradition holds that Muhammad personally laid the foundation stone of this mosque upon his arrival near Medina.
Free Humy account · No credit card · 118,535 sources to read
About this source
What it is
The Quba Mosque stands in Medina, Saudi Arabia, and is traditionally considered the first mosque ever built. According to Islamic tradition, Muhammad founded it in 622 upon arriving near Medina during his migration (Hijra) from Mecca, reportedly laying its first stone himself, with companions including Abu Bakr, Umar and Uthman adding the next stones. The mosque has been rebuilt and expanded many times over the centuries, most recently in a complete reconstruction completed in the 1980s under Saudi King Fahd.
Why it matters
The mosque's foundation story is tied closely to the Hijra, a turning point in Muhammad's life and in Islamic history. Scholars have debated how much of the foundation story is historically reliable versus later legend, making it a good example of how tradition and history can intertwine around a founding figure.
Look closer
- Why might later generations want to connect a mosque's founding directly to Muhammad?
- What does the mosque's long history of rebuilding tell you about how religious sites change over time?
- How do historians weigh competing versions of the same founding story?
This artifact is part of the curated material that grounds the AI version of Muhammad on Humy.ai — when students ask about related events, the AI can quote it and cite it.
More Muhammad sources
Browse all 71 →
BookPrimary source
Qur'an
compiled 632-656 (this manuscript 12th century)
DocumentPrimary source
Birmingham Quran Manuscript
568–645 CE
BookPrimary source
Sana'a Manuscript
c. 650 CE
BookSecondary source
Sahih al-Bukhari
Muhammad ibn Isma'il al-Bukhari · c. 846 CE
Free account
Read every Muhammad source
Sign up free →
Ready when you are
Start chatting with Muhammad now.
20 messages free · No credit card · Available in 50+ languages.



