Masjid Quba

South of Masjid an-Nabawi stands a white mosque with four slender minarets that every pilgrim in Madinah should visit: Masjid Quba. It was the first mosque founded in Islam, built on the Prophet’s ﷺ arrival in Madinah, and the Quran itself praises it as “a mosque founded on righteousness” (Quran 9:108). It is also the mosque of a remarkable promise: pray two rak’ahs here, and the reward is that of a complete Umrah. This guide explains why Quba is special, what that reward is, and how to get there.

Masjid Quba

Masjid Quba in Madinah. Photo: Wikimedia Commons.

Why is Masjid Quba special?

When the Prophet ﷺ arrived at Quba, just outside Madinah, on his Hijrah from Makkah, he stayed there for several days — and before he moved on into the city, he founded this mosque. It was the first mosque built in Islam. The Prophet ﷺ himself laid its first stones, and his companions built it with him. The Quran speaks of it in Surah at-Tawbah (9:108): “A mosque founded on righteousness from the first day is more worthy for you to stand in.” The mosque has been rebuilt and enlarged many times since, most recently in a great expansion that kept its white marble and its four minarets, but its place in history has never changed: this is where the mosque-building of Islam began.

What is the reward of praying in Masjid Quba?

According to a hadith, the Prophet ﷺ said that whoever purifies himself in his home, then comes to Masjid Quba and prays two rak’ahs there, will have the reward of a complete Umrah (Sunan Ibn Majah 1412; Sunan at-Tirmidhi 324). Note the condition in the hadith: the wudu is made at home, before setting out. So the way to do it is to make wudu at your hotel, go to Quba, and pray two rak’ahs in the mosque. The reward is a gift from Allah, and it does not replace the Umrah itself — but it is a reason why pilgrims are so keen to make the trip, and why the mosque is full of worshippers from dawn onwards.

Masjid Quba — guide image

An entrance gate of Masjid Quba. Photo: Wikimedia Commons.

Where is Masjid Quba, and how do you get there?

Masjid Quba stands to the south of the Haram area, in the district of Quba. From Masjid an-Nabawi it is a short drive by taxi — ask for “Masjid Quba” and every driver will know it. There is also a pleasant way to get there on foot: a paved walking avenue, the Quba Avenue, runs from near the Haram through the old streets to the mosque, lined with shops and cafes. It is a walk best taken in the cooler hours, early in the morning or after sunset. Most pilgrims visit Quba as part of a Madinah ziyarat round, which usually takes in Quba, Mount Uhud and the other historic mosques in one trip.

When is the best time to visit Masjid Quba?

Saturday morning has a special place in the tradition of Quba. It is recorded in hadith that the Prophet ﷺ used to go to Masjid Quba every Saturday — sometimes riding, sometimes on foot — and pray two rak’ahs there (Sahih al-Bukhari 1193; Sahih Muslim 1399). Many pilgrims follow that practice and make Saturday morning their time for Quba, so the mosque is at its busiest then. If you prefer a quieter visit, go on another morning, early after Fajr, when the air is cool and the mosque is calm. The mosque is open throughout the day, and any time you can pray two rak’ahs there is a good time.

Nearby, Bir Uthman is another quiet stop on a Madinah ziyarat day.

On the way back from Quba, many pilgrims stop at Masjid Jumuah.

Frequently asked questions

Is Masjid Quba part of Umrah?
No. Visiting Quba is not one of the rites of Umrah or Hajj. It is a recommended visit, and the reward of praying there is a gift, not a requirement.

Do I need to make wudu at home before going to Quba?
The hadith about the reward of a complete Umrah mentions purifying yourself at home before coming to the mosque, so make wudu at your hotel before you set out.

Can women visit Masjid Quba?
Yes. The mosque has separate prayer areas for women, and women visit and pray there just as men do.

How long should I allow for a visit to Quba?
Allow about an hour, including the journey there and back. If you walk the Quba Avenue, allow longer and enjoy the walk.

Scroll to Top