Madinah City: History, Masjids and Ziyarat Guide 2026

Planning Umrah from Pakistan? This Madinah city guide covers the old names, Masjid Nabawi gates and 10 ziyarat masjids. Enquire now for dates.
Table of Contents

Madinah city is the second holiest city in Islam, after Makkah. Muslims also call it Madina Munawara, the city of the Prophet, and Madinat an-Nabi. It sits in the Hejaz region of western Saudi Arabia and is the capital of Madinah Province. This guide covers the old name of Madina, a short history of Madinah, Masjid an-Nabawi from the inside, and 10 masjids you can visit on ziyarat. It is written for Pakistani pilgrims planning an Umrah trip.

Quick answer: Madinah city is a city in Saudi Arabia, about 450 km north of Makkah. Its old name was Yathrib. The Prophet Muhammad (SAW), migrated here in 622 CE, and the city became the first capital of Islam. Al Masjid an-Nabawi stands at its centre. Most Pakistani Umrah packages include 7 to 9 nights in Madinah.

Where Is Madinah City and How Far Is It From Pakistan?

Map of Saudi Arabia showing Madinah marked north of Makkah near the Red Sea coast.

Madinah city is in the west of Saudi Arabia, inland from the Red Sea, in the Hejaz region. It is the capital of Madinah Province, one of the kingdom’s administrative regions. The city sits on flat farmland with hills all around it and fields of old black volcanic rock. Mount Uhud, north of the city, is the highest point nearby.

Here is the direction of Madina and the rough distance from the cities most of our travellers fly from.

FromDirectionApproximate distance
KarachiAlmost due westAbout 2,750 to 2800 km
LahoreWest to south westAbout 3,400 to 3500 km
IslamabadSouth westAbout 3,300 to 3400 km

Distances are rounded for planning only. Confirm flight routing on your ticket.

Flights land at Prince Mohammad bin Abdulaziz International Airport (MED). Many Pakistani groups fly into Jeddah first, do Umrah in Makkah, then travel to Madinah by road or on the Haramain high speed train. A madina map is worth a look before you travel, because almost every ziyarat site sits within a short drive of the Haram.

What Is the Old Name of Madina Munawara?

The old name of Madinah was Yathrib. It is the one historic name of the city that almost every Muslim has heard, and it is far older than Islam itself.

What does the name Yathrib mean?

There is no single agreed meaning, and honest sources say so. Three explanations are commonly given.

  • From the Arabic root tha-ra-ba: Arab scholars most often link the name to this root, which carries the sense of blame, reproach or accusation. This is the meaning behind the later preference for kinder names for the city.
  • From a person’s name: an older tradition says the oasis was named after a man called Yathrib, an early settler whose lineage is traced back to Nuh (Noah). Historians treat this as a traditional account rather than proven fact.
  • From an older non-Arabic language: many linguists hold that the name predates Arabic in the region and came from an Ancient North Arabian source.

Short History of Madinah: 6 Moments That Shaped the City

You do not need a long history of Madinah to appreciate the ziyarat. Six moments explain almost everything you will see on the ground. This is the Islamic history of Medina in short form.

YearWhat happenedWhat you can still visit
622 CEThe Hijrah. The Prophet (SAW), migrated from Makkah to Yathrib. Year 1 of the Islamic calendar.Masjid Quba, Masjid al-Jumu’ah
622 CEThe Constitution of Madinah, known as Misaq e Madina or Meesaq Madina, set out rights and duties between the Muhajirun, the Ansar and the Jewish tribes of the city.Covered in the city museums
624 CEThe Battle of Badr, fought near Badr, south west of Madinah.Masjid al-Suqya, Badr area
625 CEThe Battle of Uhud, fought at the foot of Mount Uhud, just north of the city.Mount Uhud, Masjid Ash-Shuhada
627 CEThe Battle of the Trench, fought at the city’s edge. Also called Khandaq or Ahzab.The Seven Mosques area, Masjid al-Fath
Until 661 CEMadinah served as the first capital of Islam. The capital then moved to Damascus under the Umayyads.The old city around the Haram

These are the major battles in Madinah and around it that shaped the early Muslim community. After 661 CE the city stayed a centre of learning rather than politics, under Egyptian, Ottoman and later Saudi rule.

The Ottoman Hijaz Railway in Madinah

One part of madina history sits outside the religious sites completely.

One piece of later history is easy to visit. The Ottoman Hijaz Railway reached Madinah in 1908 and linked the city to Damascus. Pilgrims who once crossed the desert by camel could travel by train. The line stopped working around the First World War. The old Madinah station building now houses the Hijaz Railway Museum, and it is one of the few non-religious madina museum stops in the city.

Al Masjid an-Nabawi: Inside the Prophet’s Mosque

Masjid an-Nabawi in Madinah with its green dome, white domes and minarets under a pale sky.

Masjid an-Nabawi is the reason most pilgrims come to Madinah. Where is Masjid Nabawi? Right in the centre of the old city, so most hotels in the Haram Madina area are a short walk away. The Prophet (SAW), built the first simple structure here in 622 CE, next to his own home. Every ruler since has expanded it.

Pakistani families usually call it the madina munawara masjid. The madina haram sharif today holds hundreds of thousands of worshippers. The Green Dome marks the room where the Prophet (SAW), is buried, alongside Abu Bakr and Umar. Retractable umbrellas shade the courtyards, and sliding roof panels open the main halls to the sky.

Masjid Nabawi History and Expansions

The first building was small, with palm trunk pillars and a palm leaf roof. It was expanded in the time of Umar and Uthman, then again under the Umayyads, the Abbasids, the Mamluks and the Ottomans. The Ottoman era gave the mosque the Green Dome and much of the decorated prayer hall that still stands. The largest expansions came under Saudi rule in the twentieth century, which is why masjid nabawi inside now mixes old Ottoman columns with modern marble and brass.

Masjid Riaz ul Jannah and Mimber e Rasool

Riyadh ul-Jannah, often written as masjid Riaz ul Jannah, is the area between the Prophet’s resting place and his mimbar. It is marked out by green carpet, while the rest of the prayer hall uses red carpet, so you can see it straight away. The mimber e Rasool is the pulpit from which the Prophet (SAW), delivered sermons. The present mimbar is a later replacement in the same position.

Plan this before you travel. Entry to Riyadh ul-Jannah is managed by a free timed permit through the official Nusuk app. Slots fill fast in busy seasons. Register your details and book the slot before you land, not after.

Masjid Nabawi Interior, Map and the Gates of Masjid al-Nabawi

Masjid e Nabawi interior is laid out as a huge rectangle of prayer halls around open courtyards. A masjid nabawi map at each entrance shows the gate numbers, the women’s section, the wheelchair routes and the way to the Rawdah. Take a photo of the map on your phone. The mosque is big enough that finding your group again is the real challenge.

The gates of Masjid al-Nabawi now number more than 40. Each masjid nabawi door carries a name, a number, or both. These are the names pilgrims ask about most, and the ones people mean when they search for jannat door names.

Gate numberGate nameWhy pilgrims use it
Gate 1Bab al-Salam, the Gate of PeaceThe traditional entry gate for visiting the Prophet’s resting place. Most ziyarat routes start here.
Gate 2Bab Abu Bakr, also called Bab as-SiddiqNamed after Abu Bakr as-Siddiq, the first caliph. Sits beside Bab al-Salam on the southern side.
Gate 3Bab al-Rahmah, the Gate of MercyOne of the oldest gates of the mosque, on the western side.
Gate 4Bab al-HijrahNamed after the migration from Makkah to Madinah. A main western entrance.
Gate 5Bab QubaFaces the road towards Masjid Quba. Useful if your hotel is on that side.
Your Madinah trip starts with one message. Tell us your travel month and how many people are going. We will send you the open dates, the hotels with their walking distance, and today’s price. We take payment by bank transfer only, and you receive a receipt and a written contract. Never pay cash to an individual.

Top 10 Masjids in Madinah to Visit on Ziyarat

Map of Madinah marking ziyarat sites including Masjid Quba, Masjid al-Qiblatayn, Jabal Uhud and Dhul Hulaifah Miqat.

These are the famous masjids in Madina city that nearly every ziyarat tour covers. Each one is tied to a real event in the Prophet’s life. Most sit within 30 minutes of the Haram, so a half day covers the main stops.

1. Masjid Quba

The first mosque built in Islam. The Prophet (SAW), laid its foundation when he arrived in Madinah in 622 CE, before he entered the city itself. It sits about 5 km south of the Haram and has been rebuilt and expanded many times. Most Pakistani groups visit it first.

2. Masjid Al Qiblatayn

The mosque of the two qiblas. The name comes from the change of prayer direction from Jerusalem to the Kaaba in Makkah. The old mihrab facing the first direction was part of the building for centuries. The modern mosque keeps the story but has a single qibla today.

3. Masjid Al-Jumu’ah

Where the Prophet (SAW), led the first Friday prayer after the Hijrah, in the valley of Ranuna near Quba. It is small compared to the Haram, which surprises first time visitors. Many tours pair it with Masjid Quba because they are close together.

4. Masjid al-Ghamama

The mosque of the cloud, a short walk south west of Masjid an-Nabawi. Tradition links the name to a cloud that shaded the Prophet (SAW), during a prayer for rain. It is also remembered as a place where Eid prayers were offered. Easy to reach on foot from the Haram.

5. Masjid Al-Fath

The mosque of victory, on the slope of Jabal Sala. It is the largest and highest of the group known as the Seven Mosques, and it is tied to the Battle of the Trench in 627 CE. The view over the old battlefield area is the reason most people stop here.

6. Masjid Abu Bakr As-Siddiq

Named after the first caliph, who was the Prophet’s closest companion on the Hijrah. The mosque stands near Masjid an-Nabawi and marks a place linked to his prayer. Small, simple, and usually quick to visit.

7. Masjid Umar ibn al-Khattab

Named after the second caliph. Like the Abu Bakr mosque, it is a modest building close to the Haram area, kept as a marker of early Madinah rather than as a major prayer hall.

8. Masjid Ali ibn Abi Talib

Named after the fourth caliph and the Prophet’s cousin and son in law. It sits in the same cluster of small historic masjids near Masjid an-Nabawi and is commonly included in the Seven Mosques route.

9. Masjid Al-Miqat, also called Dhul Hulayfah or Abyar Ali

The most practical stop on this list for Umrah travellers. This is the miqat, the boundary where pilgrims travelling from Madinah enter the state of Ihram before heading to Makkah. It is about 10 km from the city. If your package starts in Madinah, you will stop here. Changing rooms and washing facilities are on site.

10. Masjid Bilal ibn Rabah

Named after Bilal, the Prophet’s muazzin, whose call to prayer is part of every Muslim child’s story. The mosque forms part of the Seven Mosques group on the western side of the city.

8 Interesting Facts About Madinah City

Madina blessing is a phrase you hear often from returning pilgrims, and it usually describes the calm of the city rather than any single site. Here are eight interesting facts about Madinah city that give you a feel for the place.

  • Madinah is the second holiest city in Islam, after Makkah.
  • It is the capital of Madinah Province, which also includes Badr, Khaybar and Yanbu on the Red Sea.
  • Britannica recorded a population of roughly 1.1 million in 2010, and the city has grown since.
  • Ajwa dates from Madinah are among the most valued dates in the world, and date farming is still a major local business.
  • Mount Uhud and the surrounding black lava fields give the city its distinctive landscape.
  • The King Fahd Glorious Quran Printing Complex prints and distributes millions of copies of the Quran from Madinah.
  • The Haramain high speed train links Madinah to Makkah through Jeddah, which has cut travel time sharply for pilgrims.
  • Non-Muslims are not permitted in the central sacred area of the city, which is marked by signs on the approach roads.

Practical Help for Pakistani Pilgrims in Madinah

Your comfort in Madinah city comes down to three things. How far your hotel is from the Haram, how you move around, and whether your ziyarat is arranged before you arrive.

  • Walking: most hotels in the Haram Madina ring are within a 5 to 15 minute walk. For elderly parents, ask for the walking distance in metres before you pay, not the hotel’s star rating.
  • Haram shuttle buses: free shuttle services run between outer hotel zones and the mosque gates in busy seasons.
  • Taxis and ride apps: metered taxis and app based rides are widely used. Agree the fare before you get in if there is no meter.
  • Ziyarat coaches: half day tours cover Quba, Qiblatayn, Uhud and the Seven Mosques in one run. This is the efficient way to see the masjids listed above. Planning the Makkah part of your trip too? Here are the ziyarat places and things to do in Makkah, with distance, time and cost for each.
  • Museums: the Hijaz Railway Museum and the city’s Dar al-Madinah style museums explain the history of Madinah in one visit.

When you compare packages, read the Madinah section closely. Nights split, hotel distance and whether ziyarat transport is included matter far more than the headline price, as our full breakdown of Umrah package prices from Pakistan shows.

Plan Your Madinah Trip With Al-Areesh Travels and Tours

Reading about Madina city history is one thing. Standing at Bab as-Salam is another. We arrange Umrah groups from Pakistan with hotels in Madinah, ziyarat transport and visa processing handled for you.

Here is how it works. Message us your travel month and the number of people. We send you the current departures with hotel names and distances. You pick one, send your documents, and pay by bank transfer with a receipt and a contract. Nothing in cash to any individual.

Madinah City FAQs

Which first person of Madina embraced Islam?

Most historical accounts name As’ad ibn Zurarah of the Khazraj tribe as the first man of Madinah to accept Islam, during the early meetings at Aqabah. Some reports instead name Iyas ibn Mu’adh. Sources differ, so treat this as a point scholars discuss rather than a settled fact.

Are Christians allowed in Medina?

Non-Muslims, including Christians, are not permitted to enter the central sacred area around Masjid an-Nabawi. Road signs mark the boundary. Other parts of Madinah Province are generally accessible. Check current rules on official Saudi government sources before travelling, because access rules can change.

How do I get around Madinah?

Most pilgrims walk, because the main sites sit close to the Haram. Free shuttle buses serve outer hotel zones in peak seasons. Taxis and ride hailing apps cover longer trips. For the masjids and Uhud, a half day ziyarat coach is the simplest option.

Was Madinah the first capital of Islam?

Yes. After the Hijrah in 622 CE, Madinah became the centre of the Muslim community and the administrative capital of the early Islamic state. It held that role until 661 CE, when the Umayyads moved the capital to Damascus.

How many nights in Madinah should an Umrah package include?

Most group packages from Pakistan give 7 to 9 nights in Madinah out of a 19 to 21 night trip. Fewer nights means rushed ziyarat. More nights suit first time travellers and elderly parents. Message us with your travel month and we will send you the current options.

Enquire Now
Talk to Our Team About Your Trip

Send us your city, travel month and number of people on WhatsApp. As a Hajj and Umrah travel agency in Pakistan, we will reply with current Umrah details and answer your Hajj questions.