Advertisement

What is Masjid Quba?

Quba mosque during my visit to Medina, 27 December
Photo: Kaliper1, CC BY-SA 4.0 via Wikimedia Commons

Masjid Quba is a mosque on the edge of Medina, and it is the first mosque built in Islam. The Prophet ﷺ laid its foundations when he arrived from Mecca in 622 CE, and praying there carries a reward like that of an Umrah.

The first mosque in Islam

On the migration from Mecca, the Prophet ﷺ stopped in the village of Quba, a few kilometres south of Medina, and stayed there for several days. During that stay he and his companions built a small mosque, the first one founded by the Muslim community. Only after that did he continue into Medina and build his own mosque. Quba has been rebuilt and enlarged many times; today it is a bright white mosque with four minarets and several domes.

لَّمَسْجِدٌ أُسِّسَ عَلَى ٱلتَّقْوَىٰ مِنْ أَوَّلِ يَوْمٍ أَحَقُّ أَن تَقُومَ فِيهِ ۚ فِيهِ رِجَالٌ يُحِبُّونَ أَن يَتَطَهَّرُوا۟ "A mosque founded on righteousness from the first day is more worthy for you to stand in. Within it are men who love to purify themselves." Quran 9:108

Many commentators say this verse refers to Quba, praising its people for their care with cleanliness. Others apply it to the Prophet's Mosque in Medina. Both were founded on God-consciousness, so the lesson fits either way.

The reward of praying there

The Prophet ﷺ used to visit Quba regularly, walking or riding, and pray there (Sahih al-Bukhari 1193). Some narrations add that he went every Saturday. He also said that whoever purifies himself at home, then comes to Masjid Quba and prays in it, gets a reward like that of an Umrah (Sunan Ibn Majah 1412). That's why most visitors to Medina make wudu at their hotel before heading out.

How to visit

  • Make wudu before you leave to follow the hadith closely.
  • Pray two rak'ahs once you arrive. Any time outside the disliked times works.
  • Getting there: it's about 3–4 km from the Prophet's Mosque, so a taxi, bus or a long walk along the Quba walkway.
  • Saturday mornings are popular with people following the Prophet's ﷺ habit, so expect crowds.

Visiting Quba is a recommended extra, not part of Hajj or Umrah. See What is Umrah? and, if you are new and planning a trip, Can I visit Mecca as a new Muslim?

Key points
  • Masjid Quba is the first mosque built in Islam, just outside Medina.
  • The Prophet ﷺ visited it regularly, often on Saturdays.
  • Wudu at home plus prayer at Quba brings a reward like an Umrah.
  • The visit is recommended, not a required part of pilgrimage.
Tip: On a Medina trip, plan one Saturday morning for Quba. Make wudu at your hotel, take a short ride, pray two rak'ahs, and you've followed a sunnah the Prophet ﷺ loved.

People also ask

Can I pray at any mosque?

Yes, you can pray at any mosque. Mosques belong to Allah, so no membership is needed, and differences between Sunni schools don't matter.

Read the full answer →
Can I give the adhan as a new Muslim?

Yes, you can give the adhan as a new Muslim. There's no waiting period; learn the words, say them clearly and ask the imam before calling it.

Read the full answer →
What is the Prophet's Mosque in Medina?

The Prophet's Mosque (Masjid an-Nabawi) in Medina was built by the Prophet Muhammad, who is buried there. It is Islam's second holiest mosque.

Read the full answer →
What is Al-Aqsa Mosque?

Al-Aqsa Mosque in Jerusalem is the third holiest site in Islam, the first qibla and the destination of the Prophet's Night Journey.

Read the full answer →
What is Masjid al-Haram?

Masjid al-Haram is the Great Mosque of Mecca around the Kaaba, the holiest place in Islam and the qibla Muslims face in every prayer.

Read the full answer →