← World map

Medina · Saudi Arabia

Quba Mosque

Quba Mosque, Medina, Saudi Arabia
Photo: Diego Delso · CC BY-SA 4.0 · Wikimedia Commons
▶ Watch the ShortSee it on the map

The story in short

Tradition says this is the first mosque in Islam, begun before the Prophet, peace be upon him, even entered Medina.

This is Quba Mosque in Medina, Saudi Arabia. Tradition says it is the first mosque in Islam, built before the Prophet, peace be upon him, even entered Medina.

In September 622, after the long journey from Mecca, he stopped here. According to tradition, the land was a yard for drying dates, and he laid the first stone himself.

The Quran speaks of a mosque founded on piety from the first day. Many scholars link that verse to Quba.

Quba Mosque, Medina, Saudi Arabia (photo 2)
Photo: beendiid C · CC BY 2.0 · Wikimedia Commons

The Prophet, peace be upon him, came back often. Sahih al-Bukhari reports that he visited every Saturday, sometimes walking, sometimes riding. Another tradition says that whoever purifies himself at home and prays here is rewarded like one Umrah.

The change of prayer direction toward the Kaaba is traditionally tied to another mosque, Masjid al-Qiblatayn. But when the news reached worshippers at Quba at dawn, tradition says they turned in the middle of their prayer.

Over the centuries the mosque was rebuilt again and again. Caliph Uthman first renovated it, Umar ibn Abd al-Aziz added its first minaret, a new mihrab was built in the eleventh century, and an Ottoman sultan restored it in the nineteenth.

Quba Mosque, Medina, Saudi Arabia (photo 3)
Photo: علاء · CC BY-SA 3.0 · Wikimedia Commons

In 1984 King Fahd laid the foundation for a new mosque, and the old building was replaced. Designed by Abdel-Wahed El-Wakil, it opened in 1986 with four minarets, more than fifty domes, and room for over twenty thousand worshippers.

Several details here are tradition rather than documented history, including the date-drying yard and the first stone, and the link to the Quran verse is the view of many scholars, not all.

At a glance

Place
Medina, Saudi Arabia
Built
622 (tradition); rebuilt 1984–1986
Coordinates
24.4392°N, 39.6172°E
Video
Watch on YouTube

Background

The Quba Mosque is a mosque located in Medina in the Hejaz region of Saudi Arabia, first built in the lifetime of the Islamic prophet Muhammad in the 7th century. It is thought to be the first mosque in the world, established on the first day of Muhammad's emigration to Medina. Its first stone is said to have been laid by the prophet, and the structure completed by his companions. The mosque was subsequently modified across the centuries until the 1980s, when it was completely replaced by a new building that stands today.

Summary from the Wikipedia article “Quba Mosque”, available under CC BY-SA 4.0. Read the full article.

More photos

Quba Mosque, Medina, Saudi Arabia (photo 4)
Photo: Indonesiagood · CC BY 4.0 · Wikimedia Commons
Quba Mosque, Medina, Saudi Arabia (photo 5)
Photo: Kaliper1 · CC BY-SA 4.0 · Wikimedia Commons
Quba Mosque, Medina, Saudi Arabia (photo 6)
Photo: Kaliper1 · CC BY-SA 4.0 · Wikimedia Commons
Quba Mosque, Medina, Saudi Arabia (photo 7)
Photo: Kaliper1 · CC BY-SA 4.0 · Wikimedia Commons
Quba Mosque, Medina, Saudi Arabia (photo 8)
Photo: Tevfik Teker · CC BY 3.0 · Wikimedia Commons
Quba Mosque, Medina, Saudi Arabia (photo 9)
Photo: Al Quran Al Kareem 2026 · CC0 · Wikimedia Commons

The article is a short summary based on published sources; where accounts differ, the text says so. Photos come from Wikimedia Commons and are shown under their free licences, with the author credited under each image. If you are an author and want a credit changed or a photo removed, please write to [email protected].