Visiting Madinah

Chapter 35 · about 11 min read

In short

  • Madinah is the city of Nabi ﷺ. One prayer in his masjid is better than a thousand prayers in other masjids, except Masjid al-Haram in Makkah.
  • Visiting Madinah is not part of Hajj or Umrah, and you do not have to go. But it is a great blessing, and most pilgrims go before or after Makkah.
  • Travel with the intention of praying in the masjid of Nabi ﷺ. When you are there, greet him, and Abu Bakr and Umar, calmly and quietly.
  • Make dua to Allah alone. Most scholars teach that you face the qibla when you make dua, not the grave.
  • Other good places to visit: Masjid Quba, where one prayer is rewarded like an Umrah, and the graves at Baqi and Uhud, where you greet the dead and pray for them.
Take the short lessonsThe key points of this chapter, a few screens at a time, with a quick check at the end.

Why is Madinah special?

Madinah is the city that gave Nabi ﷺ a home after the Hijrah, his move from Makkah. He lived there for ten years and built his masjid there. He is buried there too. For Muslims, it is the second holiest city after Makkah.

  • Nabi ﷺ made dua for it: O Allah, make us love Madinah as we love Makkah, or even more1.
  • He also asked Allah to give Madinah twice the blessings He gave Makkah2.
  • Angels guard its roads. Plague will not enter it, and neither will the Dajjal, the great false messiah who comes at the end of time3.
  • At the end of time, faith will go back to Madinah, the way a snake goes back to its hole4.

Nabi ﷺ said: one prayer in my masjid is better than a thousand prayers in any other masjid, except Masjid al-Haram5.

The Umrah and Hajj page tells the story of the journey. It also has a Travel Companion for your phone, with a place to note your Madinah hotel.
Sources for this section
  1. 1(Bukhari 1889)
  2. 2(Bukhari 1885)
  3. 3(Bukhari 1880)
  4. 4(Bukhari 1876)
  5. 5(Bukhari 1190)

Do you have to visit Madinah for Hajj?

No. Visiting Madinah is not part of Hajj or Umrah. You do not have to go, and your Hajj or Umrah is complete without it. All scholars agree on this.

  • But it is a great blessing, and most pilgrims go to Madinah before or after Makkah. Group packages usually include it.
  • You can visit Madinah at any time of year, with or without Umrah.
  • You do not wear ihram to enter Madinah. (Ihram is the special state and clothing of a pilgrim.)
  • Going from Madinah to Makkah for Umrah? You put on ihram at the miqat, the set starting point. For people coming from Madinah, it is Dhul Hulayfah6, just outside the city. Today it is often called Abyar Ali. Your group will stop there.

What should your intention be?

Nabi ﷺ said: do not set out on a journey except to three masjids: Masjid al-Haram, the masjid of Nabi ﷺ, and Masjid al-Aqsa7.

  • So when you travel to Madinah, make your intention to pray in the masjid of Nabi ﷺ. All scholars agree this intention is good.
  • Once you are there, greeting Nabi ﷺ at his grave is a good and much-loved act. His grave is right next to the masjid.
  • Scholars differ about making the journey only to visit the grave. You do not need to worry about this. Make your intention the masjid, and you have done what everyone agrees on.
You may hear sayings like "whoever does Hajj and does not visit me has been cold to me". Or you may hear that you must pray forty prayers in a row in the masjid. Hadith scholars say these reports are weak, or worse. Praying many prayers there is good, but you do not have to reach any set number.
Sources for this section
  1. 6(Bukhari 1524)
  2. 7(Bukhari 1189)

How should you behave in the masjid of Nabi ﷺ?

The masjid of Nabi ﷺ is called Masjid an-Nabawi. Today it is very large, and it is open day and night. These manners help you and the people around you.

  • Come with wudu, in clean, modest clothes. Carry your shoes in a bag, or write down the number of the shoe shelf by the gate. There are thousands of shelves.
  • Step in with your right foot and say: Allahummaftah li abwaba rahmatik. This means: O Allah, open the doors of Your mercy for me8.
  • Before you sit down, pray two rakat to greet the masjid9.
  • Keep your voice low. Umar once told off two men from Taif for raising their voices in this masjid10. Allah says: do not raise your voices above the voice of the Prophet11. Scholars say we still show this respect after his death.
  • Do not push, and do not step over people. Being patient in the crowd is part of your worship.
  • Phones: keep them on silent. A quick photo is not forbidden. But do not let filming take over your visit, and do not film people without asking them.
  • Men and women have separate gates and areas. Agree on a place to meet before you go in. Signs show the gate numbers.
  • Use your time well: pray, read Quran, remember Allah (dhikr) and send salawat (blessings) on Nabi ﷺ.
Sources for this section
  1. 8(Muslim 713)
  2. 9(Bukhari 444)
  3. 10(Bukhari 470)
  4. 11(Quran 49:2)

What is the Rawdah, and how do you pray there?

Nabi ﷺ said: between my house and my minbar is a garden from the gardens of Paradise12. This small area is called the Rawdah, which means the garden. His house was the room of Aishah, where he is now buried. The minbar is the raised step he gave his talks from.

  • Today the Rawdah has a green carpet. The rest of the masjid has red carpet.
  • Praying there brings extra blessing, but you do not have to. Your visit is complete without it.
  • So many people want to go that you now need a booked time slot. You book it in the official Saudi pilgrim app before your visit. The rules change, so ask your group leader.
  • Men and women go at different times. Women enter from their own side, at their own times.
  • When you get in, pray two rakat calmly and make dua. The guards keep people moving, so do not plan to stay long.
  • Do not push or fight for a place. If you hurt someone to pray in the Rawdah, you have lost, not gained.
Sources for this section
  1. 12(Bukhari 1196)

How do you greet Nabi ﷺ, Abu Bakr and Umar?

Nabi ﷺ is buried in the room of Aishah, beside the masjid. Next to him are his two closest friends, Abu Bakr and then Umar. Nabi ﷺ said: whenever anyone greets me, Allah gives my soul back to me so that I can return the greeting13.

Step by step

  • Men walk along the front of the masjid toward the graves. A line moves past three openings in the wall. Women have their own times and their own route. Ask at the women's gates.
  • Stand calmly at the first opening. Say in a low voice: As-salamu alayka ya Rasulallah, which means peace be upon you, O Messenger of Allah. Then send salawat on him, like the one you say in salah.
  • Move one step on and say: As-salamu alayka ya Aba Bakr.
  • Move one more step and say: As-salamu alayka ya Umar. You can add a short dua for them both: may Allah be pleased with you.
  • That is all. It takes about a minute. Keep walking with the line.

Umar loved being near his two companions so much that, as he was dying, he asked Aishah for this place14.

The full story: Umar's last wish

Umar was stabbed while he was leading the people in prayer. As he lay dying, he sent his son Abdullah to Aishah, the mother of the believers15.

He told his son: tell her that Umar sends his greetings, and ask her to let me be buried with my two companions, Nabi ﷺ and Abu Bakr16.

Aishah said: I wanted this place for myself, but today I put him before myself17.

When the answer came, Umar said nothing mattered more to him than this. But he was careful to the end. He said: when I die, ask her again. If she agrees, bury me there. If not, take me to the graveyard of the Muslims18.

What this teaches us

  • Loving Nabi ﷺ and his companions is part of faith. That is why we greet all three.
  • Aishah gave up her own wish for someone else. Generous hearts are what make this place special.
  • Umar asked permission twice. Even a great man respected the rights of others.

When you make dua, face the qibla and ask Allah

  • After the greeting, if you want to make dua, move on and face the qibla, as most scholars teach. Then ask Allah for whatever you need.
  • Allah says: call on Me, I will answer you19. Dua is made to Allah alone.
  • Nabi ﷺ did not want his grave to become a place of prayer. He warned against making the graves of prophets into places of prayer. Aishah said this is why his grave was not left out in the open20. He also said: do not pray facing graves21.

What should you avoid at the grave?

Many visitors come with deep love, and that is good. But we show love by following his Sunnah. So scholars gently advise against:

  • Shouting, crying out loud or crowding at the grave.
  • Touching, kissing or rubbing the walls, grills or doors to get blessings.
  • Bowing or making sujud (putting your forehead on the ground) toward the grave.
  • Asking Nabi ﷺ for what you need, like healing or children. Ask Allah. You can ask Allah by your love for His Messenger.

Nabi ﷺ said: do not make my grave a place of festival. Send blessings on me, because your blessings reach me wherever you are22. So you do not need to be at the grave to greet him. Allah says: Allah and His angels send blessings on the Prophet. O you who believe, send blessings on him23.

Sources for this section
  1. 13(Abu Dawud 2041)
  2. 14(Bukhari 1392)
  3. 15(Bukhari 1392)
  4. 16(Bukhari 1392)
  5. 17(Bukhari 1392)
  6. 18(Bukhari 1392)
  7. 19(Quran 40:60)
  8. 20(Bukhari 1330)
  9. 21(Muslim 972)
  10. 22(Abu Dawud 2042)
  11. 23(Quran 33:56)

Why visit Masjid Quba?

Quba is a few kilometers south of Masjid an-Nabawi. Its masjid was the first one Nabi ﷺ built, when he arrived in Madinah on the Hijrah.

  • Nabi ﷺ used to go to Quba every Saturday, sometimes walking and sometimes riding24. He would pray two rakat there25.
  • He said: whoever makes wudu at home, then comes to Masjid Quba and prays in it, gets a reward like an Umrah26.
  • So make wudu at your hotel, then go and pray two rakat. Any day is fine. Going on Saturday follows what he did.
  • Taxis and buses go there often. There is also a long walking path from the masjid of Nabi ﷺ to Quba.
Sources for this section
  1. 24(Bukhari 1193)
  2. 25(Bukhari 1194)
  3. 26(Ibn Majah 1412)

How do you visit the graves at Baqi and Uhud?

Nabi ﷺ said: I used to forbid you to visit graves, but now visit them27. Visiting graves reminds us of death, and lets us pray for the dead.

What to say at any graveyard

Nabi ﷺ taught his companions to say: peace be upon you, people of this place, believers and Muslims. If Allah wills, we will join you. I ask Allah to keep us and you safe28.

Baqi

  • Al-Baqi is the graveyard right beside Masjid an-Nabawi. Many companions and family members of Nabi ﷺ are buried there.
  • Nabi ﷺ would go out to Baqi late at night, greet the people buried there, and ask Allah to forgive them29.
  • It is usually open for short times after Fajr and after Asr. Check the times when you are there.

Uhud

  • When Nabi ﷺ saw Mount Uhud, he said: this is a mountain that loves us, and we love it30.
  • The battle of Uhud was fought at the foot of the mountain. The martyrs were buried there in their clothes, two to a grave31. Hamzah, the uncle of Nabi ﷺ, was killed in this battle32, and he is buried there with them.
  • Years later, Nabi ﷺ went and prayed for the martyrs of Uhud, like someone saying goodbye33.
  • Stand by the graves, say the greeting, and make dua for them. You can also see the small hill where the archers stood34.

Can women visit graves?

  • Scholars differ. Many allow women to visit graves now and then, if they stay calm and do not wail. Others say it is better for women to avoid it.
  • Local rules may also limit when women can enter Baqi. A woman can say the greeting from outside, or from anywhere. Her dua still reaches them.
Sources for this section
  1. 27(Muslim 977)
  2. 28(Muslim 975)
  3. 29(Muslim 974)
  4. 30(Bukhari 4084)
  5. 31(Bukhari 1343)
  6. 32(Bukhari 4072)
  7. 33(Bukhari 4042)
  8. 34(Bukhari 3039)

What about other places in Madinah?

  • Many groups take a tour of other places, like Masjid al-Qiblatayn, where the qibla was changed from Jerusalem to Makkah, and the place of the Battle of the Trench.
  • Visiting these places to learn the history is fine, and it can move your heart.
  • But the special rewards are only for the masjid of Nabi ﷺ and Masjid Quba. Do not treat other places as places for special worship, unless a sound hadith says so.

Why are Madinah's dates special?

Madinah is famous for its dates. The best known is Ajwa, a soft, dark date.

  • Nabi ﷺ said: whoever eats seven Ajwa dates in the morning will not be harmed by poison or magic that day35.
  • Another report talks about seven dates from the land of Madinah36. So many scholars say this is about Madinah dates, and Ajwa most of all.
  • It is a sunnah to eat them while trusting Allah. They do not replace medicine.
  • Dates make a lovely gift to bring home for family and friends.
Sources for this section
  1. 35(Bukhari 5445)
  2. 36(Muslim 2047)

How do you respect the city?

Nabi ﷺ said: Ibrahim made Makkah sacred, and I have made Madinah sacred, the area between its two mountains37.

  • Inside its sacred area, do not cut down trees or hunt animals38.
  • He gave a strong warning to anyone who brings something new and wrong into the religion there, or does evil there39.
  • Scholars differ on some details, like what penalty applies. But the message is clear: be on your best behavior in the city of Nabi ﷺ.
  • Be kind to the people of Madinah, to workers and cleaners, and to other pilgrims. Do not drop litter. Do not argue over seats, taxis or queues.
Sources for this section
  1. 37(Bukhari 4084)
  2. 38(Muslim 1363)
  3. 39(Bukhari 1867)

Common questions

I only have one day in Madinah. What should I do?
Pray as many of the five daily prayers as you can in the masjid of Nabi ﷺ. Greet Nabi ﷺ, Abu Bakr and Umar. Make wudu at your hotel and pray two rakat in Masjid Quba. If you have time, greet the people buried at Baqi. Book a Rawdah slot early. If you cannot get one, your visit is still complete.
I am a woman. When can I go to the Rawdah?
Women have their own times and their own entrance, and the times change. Book your slot in the official app, and ask your group leader or the staff at the women's gates.
My parents are elderly. How do I manage the crowds?
Go at quieter times, like late morning or late at night. You can get wheelchairs at the masjid, and some gates are easier for them. There may be a special Rawdah time for elderly and disabled people, so ask. Remember, your greeting reaches Nabi ﷺ from anywhere40. Your parents do not need to fight through a crowd.
Do I have to pray forty prayers in the masjid?
No. Many hadith scholars say the report about forty prayers is weak. Pray there as much as you can. There is no set number.
I have my period while in Madinah. What can I do?
Most scholars say a woman on her period does not stay inside the masjid. You can still remember Allah, make dua, send salawat on Nabi ﷺ from anywhere, and enjoy the city. See Periods and bleeding after birth.
Someone asked me to pass on their salam to Nabi ﷺ. Should I?
Many scholars say there is no harm in it. You can say: so-and-so sends you salam. But tell them they can also send blessings on him themselves, and it reaches him41.
We are traveling with small children. Any tips?
Put a card with your hotel name and your phone number in each child's pocket. Agree on one gate number as your meeting point. Children can come to the masjid, but choose quieter times and sit near an exit.
Sources for this section
  1. 40(Abu Dawud 2042)
  2. 41(Abu Dawud 2042)

This guide teaches what most scholars hold and notes where the four schools differ. For your own situation, ask a scholar you trust or your local masjid.

All of Fiqh