Madinah Ziyarat Places: Quba, Qiblatayn, Uhud & More

Madinah al-Munawwarah, the City of the Prophet ﷺ, is full of places tied to the early history of Islam: the first masjid ever built, the masjid where the Qiblah changed, the mountain of Uhud and the graves of the Companions.

This guide covers the main Madinah Ziyarat places, what happened at each one, how long to allow, and how to plan your visit around your prayers at Masjid an-Nabawi.

Please note: follow the Sunnah and your scholar’s guidance on what to do at each place. Ziyarat is for remembrance, learning and dua.

Madinah Ziyarat places at a glance

PlaceWhy it mattersApprox. distance from Masjid an-Nabawi
Masjid QubaThe first masjid built in IslamAbout 3–4 km
Masjid al-QiblataynWhere the Qiblah changed to the Ka’bahAbout 5 km
Mount Uhud & Martyrs’ cemeterySite of the Battle of Uhud; grave of Hamzah (RA)About 5 km
The Seven Mosques (Khandaq)Site of the Battle of the TrenchAbout 4–5 km
Jannat al-BaqiResting place of many Companions and family of the Prophet ﷺNext to Masjid an-Nabawi
Masjid al-GhamamahWhere the Prophet ﷺ prayed the Eid and rain prayersA short walk
Masjid al-Jumu‘ahSite of the first Friday prayerAbout 4 km

1. Masjid Quba

Masjid Quba was the first masjid built in Islam, founded by the Prophet ﷺ when he arrived near Madinah during the Hijrah. He ﷺ used to visit it regularly, often on Saturdays. In a hadith recorded by Ibn Majah, he ﷺ said that whoever purifies himself at home and then prays in Masjid Quba receives a reward like that of an Umrah.

  • Make wudu at your hotel before you leave.
  • Saturday morning is a popular time to visit, following the Sunnah — expect more people.
  • There are separate entrances and prayer areas for women.

2. Masjid al-Qiblatayn

“Qiblatayn” means “two Qiblahs”. It was here that the revelation came to change the direction of prayer from Bayt al-Maqdis in Jerusalem to the Ka’bah in Makkah (Surah al-Baqarah 2:144). Today the masjid faces only the Ka’bah.

3. Mount Uhud and the Martyrs of Uhud

The Battle of Uhud took place at the foot of this mountain in the third year after the Hijrah. Seventy Companions were martyred, including Hamzah ibn Abd al-Muttalib (RA), the uncle of the Prophet ﷺ. Their graves lie in a walled cemetery facing the small hill of Jabal al-Rumah, where the archers were stationed.

The Prophet ﷺ said of this mountain: “Uhud is a mountain that loves us and we love it.” (Sahih al-Bukhari)

4. The Seven Mosques and the Battle of the Trench

During the Battle of the Trench (Khandaq), the Muslims dug a trench to defend Madinah. Several small masjids were later built where Companions stood guard. Today the area has a large modern masjid, Masjid al-Khandaq, alongside some of the older structures.

5. Jannat al-Baqi

Al-Baqi is the main cemetery of Madinah, right next to Masjid an-Nabawi. Many family members and Companions of the Prophet ﷺ are buried here, including Uthman ibn Affan (RA) and many of the Mothers of the Believers. Men can usually visit after Fajr and after Asr; check the current timings locally. Visitors give salam and make dua for the deceased.

6. Masjid al-Ghamamah

A short walk from Masjid an-Nabawi, Masjid al-Ghamamah stands where the Prophet ﷺ prayed the Eid prayer and the prayer for rain (Salat al-Istisqa). Its name means “the cloud”.

7. Masjid al-Jumu‘ah

On his way from Quba into Madinah during the Hijrah, the Prophet ﷺ led the first Friday prayer at this spot. It is easy to combine with a visit to Masjid Quba.

Don’t miss: the Rawdah and the date markets

  • The Rawdah inside Masjid an-Nabawi requires a timed permit booked in the Nusuk app. Book as soon as your dates are confirmed.
  • Date farms and markets: Madinah is famous for its dates, especially Ajwa. Many Ziyarat tours include a stop at a date market on the way back.

How long does a Madinah Ziyarat take?

A standard tour of Masjid Quba, Masjid al-Qiblatayn, Mount Uhud and the Seven Mosques usually takes 2 to 3 hours. Most sites are a short drive from Masjid an-Nabawi, so you can fit the tour comfortably between two prayers.

Best time to go

  • Early morning after Fajr or after Ishraq is the coolest time.
  • Saturday morning for Masjid Quba, if you want to follow the Sunnah — but expect it to be busier.
  • Avoid Friday mornings if you want to be back early for Jumu‘ah at Masjid an-Nabawi.

Private taxi or group bus tour?

Group bus tours stop briefly at each site on a fixed route. A private Ziyarat taxi picks you up from your hotel, waits for you at each place and lets you spend as long as you need — ideal for families and elderly pilgrims who want to pray two rak’ahs at Quba without rushing.

Book a private Madinah Ziyarat

Your driver collects you from your hotel, visits Quba, Qiblatayn, Uhud and the Seven Mosques, and waits at every stop.

Frequently asked questions

What are the main Ziyarat places in Madinah?

The most visited are Masjid Quba, Masjid al-Qiblatayn, Mount Uhud and the Martyrs’ cemetery, the Seven Mosques, Jannat al-Baqi, Masjid al-Ghamamah and Masjid al-Jumu‘ah.

How long does a Madinah Ziyarat take?

A standard tour of the main sites takes about 2 to 3 hours, so it fits easily between two prayers at Masjid an-Nabawi.

Why is Masjid Quba special?

It was the first masjid built in Islam. According to a hadith in Ibn Majah, praying in Masjid Quba after purifying yourself at home brings a reward like that of an Umrah.

Do I need a permit for the Rawdah?

Yes. Praying in the Rawdah at Masjid an-Nabawi requires a timed permit booked in the Nusuk app.

Can women visit Jannat al-Baqi?

Access to Jannat al-Baqi is generally for men. Women usually make dua from outside. Check the current rules locally.

Official sources: Nusuk (official Umrah permits and booking platform). Rules and timings can change, so check these before you travel.

Get your fixed fare

Tell us your route, date and group size. We reply on WhatsApp with your fare and driver details, 24/7.