Home  /  Articles  /  Masjid Quba — Virtues, History & How to Visit

Madinah · Masjid Quba

Masjid Quba — Virtues, History & How to Visit

Masjid Quba, the white mosque with tall minarets and domes, in Madinah under a clear blue sky
Masjid Quba, Madinah · Photo by Subhd Suhail · Pexels

Before there was a Prophet's Mosque, there was Quba. When the Prophet ﷺ arrived at the outskirts of Madinah during the Hijrah, he stayed with Banu Amr ibn Awf and laid the first stones of a mosque there — the first mosque in Islam. It is a short trip from the Haram in Madinah, and the reward promised for praying in it is unlike any other mosque visit on your journey. It fits naturally into a wider day of visits — see our Madinah Ziyarat Guide for the full route.

Founded on taqwa: Allah says of it: "A mosque founded on piety (taqwa) from the first day is more worthy for you to stand in" (Qur'an 9:108) — revealed about Masjid Quba, whose people loved to purify themselves thoroughly, and Allah praised them for it in the same verse.
Two rak'ahs here, an Umrah's reward: The Prophet ﷺ said: "Whoever purifies himself in his house, then comes to the Quba Mosque and offers a prayer therein, will have a reward like that for Umrah" (Sunan Ibn Majah 1412, graded hasan; also Jami' at-Tirmidhi 324, graded hasan). Note the condition woven into the words: the purification — wudu — is done at home first, then you come and pray.

The Prophet's own habit: After settling in Madinah, the Prophet ﷺ used to go to Quba every Saturday, sometimes walking and sometimes riding, and pray two rak'ahs there (Sahih al-Bukhari 1193; Sahih Muslim 1399), and he encouraged his companions to do the same. Saturday was his habit, not a condition: the hadith of Ibn Majah sets no day, so a prayer at Quba on any day of the week earns the same promised reward. If your ziyarat day falls on a Saturday, you are simply closer to his exact practice.

How to visit — the practical side:

  • Where it is: Masjid Quba stands about 3.5 km south of the Prophet's Mosque — roughly 10 minutes by taxi or bus. Taxis wait around the Haram; agree the fare or check the meter before you set off.
  • Make wudu at your hotel first. The hadith's wording ties the reward to purifying yourself in your house — for the traveller, your hotel room — then going to Quba and praying. Wudu facilities exist at the mosque if you need them, but come ready.
  • Pray two rak'ahs on arrival — or join a congregational prayer if one is under way; either fulfils the "offers a prayer therein" of the hadith.
  • Combine it with a ziyarat trip. Quba pairs naturally with Mount Uhud and Masjid al-Qiblatain in a single half-day circuit — the order and stories are laid out in our Madinah Ziyarat Guide.
  • Women and children are welcome. Quba has provision for families, and the reward of the prayer is for everyone who comes purified and prays.
  • No permit is needed. Unlike the Rawdah — which requires a booked slot, as our Rawdah Permit guide explains — Masjid Quba is open to walk in and pray; just avoid the busiest prayer-time crush if you are with small children. If you are packing for the Madinah days, our Umrah Packing List has the essentials, and first-time pilgrims should start with Umrah for First-Timers.

Quick questions:

  • Does praying at Quba really equal Umrah reward? Yes — that is the Prophet's ﷺ own words: whoever purifies himself at home, comes to Masjid Quba and prays there receives a reward like that of Umrah (Sunan Ibn Majah 1412, hasan; Jami' at-Tirmidhi 324, hasan). Like Ramadan Umrah, it is a reward, not a performed Umrah — it does not take the place of the rites in Makkah, nor of Hajj itself.
  • Do I need a Nusuk permit for Quba? No. Masjid Quba needs no permit and no booking — make wudu at your hotel, travel the roughly 3.5 km from the Prophet's Mosque, and pray two rak'ahs. Permits on the Madinah side are for the Rawdah only.
  • Which day should I visit? Any day. The Prophet ﷺ habitually went on Saturdays (Sahih al-Bukhari 1193; Sahih Muslim 1399), and visiting on Saturday follows his practice most closely — but his habit was not a condition, and the promised reward applies on whichever day you go.

Sources: Sunan Ibn Majah 1412 — Sunnah.com ↗ · Jami' at-Tirmidhi 324 — Sunnah.com ↗ · Sahih al-Bukhari 1193 — Sunnah.com ↗ · Sahih Muslim 1399 — Sunnah.com ↗ · Qur'an 9:108