Overview
Masjid Quba lies about 3 km south of Masjid an-Nabawi. It is widely regarded as the first mosque built in Islam, established by the Prophet ﷺ when he stayed at Quba on arrival from Makkah during the Hijrah.
Significance
Ibn Umar reported that the Prophet ﷺ used to visit Quba every Saturday, walking or riding, and pray two rak’ahs there (Sahih al-Bukhari 1193–1194). The Prophet ﷺ also said: “Whoever purifies himself in his house, then comes to the mosque of Quba and prays in it, will have a reward like that of Umrah” (Sunan Ibn Majah 1412).
Differing views
The Qur’an praises “a mosque founded on righteousness from the first day” (Qur’an 9:108). Many commentators apply this to Masjid Quba, while a hadith in Sahih Muslim applies it to the Prophet’s Mosque; scholars have explained that the description can fit both.
History
The mosque was rebuilt many times. The present white building with its minarets and domes was designed in the 1980s, and a major expansion was announced in the 2020s.
Map
Visiting information
Open for all five prayers. Many visitors walk from Masjid an-Nabawi along the Quba Walking Trail, or come by taxi or bus. Performing wudu before leaving your accommodation follows the hadith above.
Related Ziyarat locations
Bir Aris
The 'Well of the Ring' near Masjid Quba, where the Prophet's ﷺ seal ring fell during the caliphate of Uthman.
Read history & details →Quba Walking Trail
The 3 km pedestrian avenue linking Masjid an-Nabawi and Masjid Quba, following a route the Prophet ﷺ used when visiting Quba.
Read history & details →Masjid Jumuah
The mosque marking where the Prophet ﷺ led the first Friday (Jumu'ah) prayer on his way from Quba into Madinah.
Read history & details →Mount Uhud
The mountain north of Madinah, site of the Battle of Uhud (3 AH) and the graves of its martyrs including Hamzah.
Read history & details →Al-Baqi
The historic cemetery of Madinah beside the Prophet's Mosque, resting place of many Companions and members of the Prophet's ﷺ family.
Read history & details →Masjid Ijabah
The mosque of Banu Mu'awiyah, where the Prophet ﷺ made a long supplication — two of his three requests were granted.
Read history & details →Related Ziyarat tours & packages
Group Umrah
Organised Umrah for mosques, communities and families travelling together.
View details →Premium Umrah Package
Premium hotels near the Haram, private vehicles and personalised Ziyarat.
View details →Standard Umrah Package
Comfortable hotels closer to the Haram, private transfers and guided Ziyarat.
View details →Visit Masjid Quba with ZiyaraWay
Private and group Ziyarat tours with transport and guidance.
Book a Ziyarat tour Ask on WhatsAppSources & references
- Sahih al-Bukhari 1193 — https://sunnah.com/bukhari:1193
- Sahih al-Bukhari 1194 — https://sunnah.com/bukhari:1194
- Sunan Ibn Majah 1412 — https://sunnah.com/ibnmajah:1412
- Qur'an 9:108 — https://quran.com/9/108
Historical reports sometimes differ; where they do, this page notes it. Please consult qualified scholars for religious rulings. Visiting rules and opening times are set by the Saudi authorities and may change.








Leave a Reply