Masjid Quba
Masjid Quba — the first mosque of Islam, founded by the Prophet ﷺ in the village of Quba on his arrival from Makkah.
- Where: about 3.2 km from Masjid an-Nabawi in a straight line, on its south side (24.43936, 39.61726)
- City: Madinah
History
Before entering Madinah in 622 CE the Prophet ﷺ stayed some days at Quba, the village of the Banu Amr ibn Awf, and laid the foundation of a mosque with his own hands. The Quran praises "a mosque founded on piety from the first day" (9:108), which the Companions understood to mean Quba. He went to Quba every Saturday, walking or riding, to pray there.
The mosque was rebuilt many times; the present white building with its four minarets and inner courtyard dates from the 1980s and was enlarged again in the 2020s. It stands about 3.5 km south of the Prophet's Mosque, at the end of Quba Road, which has been made a pedestrian avenue.
What to do there
- Make wudu at your hotel, come to Quba and pray two rak'ahs (or any prayer) with the intention of following the Sunnah.
- Walk Quba Road from the Prophet's Mosque in the cool hours, as he did, if you are able (about 45 minutes).
Tips for pilgrims
- Saturday mornings are the busiest, following the Prophet's ﷺ own habit.
- Taxis and the city bus stop at the mosque; the walk back after Maghrib is pleasant along the lit avenue.
Nearby places
- Al-Baqi Cemetery — 3.1 km away
- Al-Baqi main gate — 3.1 km away
- Masjid al-Ghamamah — 3.1 km away
- Ar-Rawdah ash-Sharifah (Green Dome) — 3.2 km away
Open Masjid Quba on the UmrahMap 3D map for walking or driving directions, or see all Ziyarah places in Madinah.
Text by the UmrahMap content team from the sources listed; updated 2026-09-25. This text is still being reviewed by scholars. Visiting rules and opening hours can change — check locally.
UmrahMap is made by UmrahCore, Umrah and Hajj management software for travel agencies.
Read in: বাংলা