Skip to content
JiwarStays

Quba Mosque in Madinah: its virtue, story and how to visit

The first mosque built in Islam: its story, why one prayer there carries the reward of an Umrah, where it is, and how to walk there from the Prophet's Mosque.

By Mahmoud Sameh

3 min read

Quba Mosque at night, its white minarets lit up

Quba Mosque was the first mosque built in Islam, and one prayer in it carries the reward of an Umrah, so its courtyards are busy at almost any hour. It's also one of the easiest visits in Madinah: a short drive, or an easy walk along a straight avenue that starts near the Prophet's Mosque.

The story of the mosque

When the Prophet ﷺ reached Madinah on the Hijrah, he stopped first at Quba, with the clan of Banu Amr ibn Awf, on a Monday in Rabi al-Awwal. Al-Bukhari records that he "stayed with Banu Amr ibn Awf for more than ten nights and founded the mosque that was founded on piety". Many commentators say this is the mosque meant in the verse: "A mosque founded on piety from the first day is more worthy for you to stand in" (At-Tawbah 9:108).

The reward of praying at Quba

The Prophet ﷺ said: "Whoever purifies himself in his house, then comes to Quba Mosque and offers one prayer in it, will have a reward like that of an Umrah" (Ibn Majah). He went there every Saturday, walking or riding, and Ibn Umar did the same (al-Bukhari).

The hadith tells you how to plan the visit:

  • Make wudu at your hotel before you set off, as the hadith describes.
  • Pray at least two rak'ahs there, or catch one of the five daily prayers.
  • If you're going in the morning, arrive after the sun is well up, so you can pray Duha at a time no scholar objects to.
  • Saturday is the day to go if you want to follow the Sunnah closely. Any other day is still good.
The shaded courtyard of Quba Mosque with worshippers
The shaded courtyard at the heart of Quba Mosque.

Where is Quba Mosque?

In the Quba district, about 3 km south of the Prophet's Mosque. There are three ways to get there:

  • On foot along Quba Avenue: a straight walkway between the two mosques, with lanes for walking and cycling, gardens, shops, restaurants and cafés. It's about a 40-minute walk at an easy pace.
  • By taxi or ride-hailing app: about ten minutes when the roads are quiet.
  • On a ziyarat tour: the morning tours of Madinah's sites usually stop at Quba.

Carts for older visitors and people with disabilities run round the clock in the mosque's courtyards.

The mosque today

A wide white building with four minarets and several domes, around a central courtyard shaded by awnings. Women have their own prayer hall and entrances, and there are Zamzam coolers in the courtyards.

The largest expansion in the mosque's history is under way. It will take the mosque to about 50,000 m², ten times its present size, with room for about 66,000 worshippers, so you may find parts of it fenced off for building work.

The white mihrab of Quba Mosque under green and gold calligraphy
The mihrab of Quba Mosque.

Tips for the visit

  • Saturday morning is the busiest time. For a quieter visit, go early or on another day.
  • Bring a bag for your shoes, as the entrances get crowded at peak times.
  • If you walk there, you may want to ride back, especially in summer.
  • Go between two prayers, and leave enough time to be back at the Prophet's Mosque before the adhan.

For the other places worth seeing, read Ziyarat in Madinah.

Hotels near the Prophet's Mosque

Compare the walk, the view and the price, then book in minutes.

See the hotels

Sources