The Haram of Makkah and Madinah: Boundaries, Prohibitions and Rulings

The boundaries of the Haram of Makkah and Madinah, what is prohibited inside them, the dam for violations and the virtues of worship there.

This is a complete guide to the Haram (the sacred precinct) of Makkah and Madinah: its boundaries, what is prohibited inside it, the dam for breaking those prohibitions, its virtues, and how the Haram of Makkah differs from the Haram of Madinah, according to the Shafi‘i school. Many pilgrims think “the Haram” only means Masjid al-Haram. In fact it is a much wider area, stretching several kilometres in every direction from the Kaaba and covering your hotel, the markets, Mina and Muzdalifah. Some rulings inside it apply to everyone, in ihram or not. May this guide help you, in sha Allah.

Editorial review: 24 October 2026 · English edition: 4 December 2026 · Expert fiqh review: in progress · Main references: al-Nawawi’s Minhaj al-Talibin, al-Idah fi Manasik al-Hajj, Rawdat al-Talibin and al-Majmu‘, the Hajj Basic Course Notes 1448H (Tabung Haji, Malaysia) and the Federal Territory Mufti Office (Malaysia).

Short answer

The Haram of Makkah is the sacred area around the Kaaba, from Tan‘im in the north to Hudaibiyah in the west. Mina and Muzdalifah are inside it. Arafah is outside it.

Inside it, everyone is forbidden to hunt, to cut trees that grow wild, to pick up lost property to keep it, and to take its soil or stones out, even when not in ihram. Madinah is also a Haram, but its rulings are lighter: hunting and cutting trees are forbidden, but there is no dam.

Evidence

Meaning of the Haram and Its Evidence

Haram here means an area that is honoured and protected, not “forbidden” in the sense of sin. On the day Makkah was opened, the Messenger of Allah ﷺ said:

فَإِنَّ هَذَا بَلَدٌ حَرَّمَ اللَّهُ يَوْمَ خَلَقَ السَّمَوَاتِ وَالْأَرْضَ … لَا يُعْضَدُ شَوْكُهُ، وَلَا يُنَفَّرُ صَيْدُهُ، وَلَا يَلْتَقِطُ لُقَطَتَهُ إِلَّا مَنْ عَرَّفَهَا، وَلَا يُخْتَلَى خَلَاهُ

“Allah made this land sacred on the day He created the heavens and the earth … Its thorny trees are not to be cut, its game is not to be chased, its lost property is not to be picked up except by one who announces it, and its fresh grass is not to be uprooted.” Al-‘Abbas (may Allah be pleased with him) asked for an exception for idhkhir, and the Prophet ﷺ allowed it.

Sahih al-Bukhari, no. 1834, and Sahih Muslim, no. 1353, narrated by Ibn ‘Abbas (may Allah be pleased with him)

This hadith is the basis of almost every prohibition in the Haram. Madinah was made sacred by the Messenger of Allah ﷺ himself: “Ibrahim made Makkah sacred … and I have made Madinah sacred as Ibrahim made Makkah sacred” (Sahih Muslim, no. 1360. Tabung Haji course notes 1448H, Module 1).

Boundary

Boundaries of the Haram of Makkah

The boundaries of the Haram are marked with pillars and signboards on every road into Makkah. Al-Nawawi recorded their distances from Makkah in miles (mil) (al-Idah, issue 23). The kilometre estimates below differ between sources and the route measured:

Marker and directionDistance from Makkah
Tan‘im
North, towards Madinah
3 miles
± 6 to 7.5 km
Adat Laban
South, towards Yemen
7 miles
± 12 km
Wadi Nakhlah
North-east, towards Iraq
7 miles
± 13 to 14 km
Ji‘ranah
East
9 miles
± 15 km or more, depending on the route
Batn Namirah
South-east, towards Arafah and Taif
7 miles
± 18 to 20 km
Hudaibiyah (Shumaisi)
West, towards Jeddah
10 miles
± 15 to 22 km

Good to know

  • Mina and Muzdalifah are inside the Haram (al-Majmu‘, 7/453 and 8/128).
  • Arafah is outside the Haram (al-Idah). That is why the prohibition on cutting the trees of the Haram does not apply at Arafah, though the prohibitions of ihram still apply to pilgrims in ihram.
  • Masjid Aisyah at Tan‘im, Masjid Ji‘ranah and Hudaibiyah are on non-sacred land (al-hill), outside the boundary. That is why pilgrims staying in Makkah go out to them to enter ihram for Umrah.
The minarets of Masjid Aisyah at Tan‘im, Makkah
Masjid Aisyah at Tan‘im, the boundary marker of the Haram closest to Masjid al-Haram. Photo: GusJuned, Wikimedia Commons (CC BY-SA 3.0).

Full guidePlanning a Second Umrah?Choose a miqat on non-sacred land: Tan‘im, Ji‘ranah or Hudaibiyah

Prohibitions

Prohibitions in the Haram

The following prohibitions apply to everyone within the boundaries of the Haram of Makkah, whether in ihram or not, including the people of Makkah (Tabung Haji course notes 1448H, Module 5):

ActRuling
Hunting wild land animals that are lawful to eat, including chasing or disturbing themForbidden, and requires dam
Cutting or uprooting trees and plants that grow wildForbidden, and requires dam. Trees planted by people take the same ruling according to the school
Picking up lost property to keep itForbidden. It may only be picked up to announce it, or to hand it to the authorities
Taking the soil or stones of the Haram out of itNot permitted, according to the more correct view. Zamzam water is an exception
Non-Muslims entering the Haram of MakkahForbidden entirely, whether to live there or merely to pass through

Source of the table: Minhaj al-Talibin (the chapter on the prohibitions of ihram, the book of lost property and the book of jizyah). Al-Nawawi, Rawdat al-Talibin, 3/168. Federal Territory Mufti Office (Malaysia), al-Kafi li al-Fatawi no. 1159.

Exceptions

  • Idhkhir, a kind of fragrant grass, based on the hadith above.
  • Thorny plants that cause harm, according to the majority of Shafi‘i scholars.
  • Taking plants for animal fodder and medicine, according to the more correct view (Minhaj al-Talibin).
  • Dead trees (Tabung Haji course notes 1448H, Module 5).
  • Killing pests: crows, kites, scorpions, mice and rabid dogs may be killed in the Haram (Sahih al-Bukhari, no. 1829. Sahih Muslim, no. 1198).

Evil intentions are also held to account. Allah says about Masjid al-Haram: “whoever intends to do wrong in it, We will make him taste a painful punishment” (Surah al-Hajj, verse 25). Ibn Kathir explains that one of the special features of the Haram is that a person who resolves to do evil in it is punished even before he does it.

Dam

The Dam for Violations

Hunting and cutting trees in the Haram require Dam Takhyir and Ta‘dil (a dam with a choice, by equivalence): you may choose to slaughter an equivalent livestock animal, give food of the same value in charity to the poor of the Haram, or fast one day for each mudd of food (Tabung Haji course notes 1448H, Module 5).

ViolationDam required
A large treeA cow
A small treeA sheep or goat
A pigeonA sheep or goat (al-Majmu‘, 7/440)
Locusts and small gameTheir value
Grass and small plantsTheir value

Source for the rates for trees: Minhaj al-Talibin. Tabung Haji lists locusts as game (Tabung Haji course notes 1448H, Module 5).

Full guideDam in Hajj and UmrahFind your violation, the type of dam and how to pay

Virtues

Virtues of the Haram of Makkah

صَلَاةٌ فِي الْمَسْجِدِ الْحَرَامِ أَفْضَلُ مِنْ مِائَةِ أَلْفِ صَلَاةٍ فِيمَا سِوَاهُ

“A prayer in Masjid al-Haram is better than a hundred thousand prayers elsewhere.”

Sunan Ibn Majah, no. 1406, narrated by Jabir (may Allah be pleased with him). Its chain is authentic according to Ibn Hajar and al-Albani

A difference of opinion

Is the multiplication of 100,000 only inside Masjid al-Haram?

Shafi‘i school

Many Shafi‘i scholars, among them al-Mawardi, al-Zarkashi and al-Suyuti, held that this multiplication covers the whole Haram of Makkah. The Tabung Haji course notes 1448H, Module 1, cite this view with the evidence of the Night Journey (Isra’), when the Messenger of Allah ﷺ was in the house of Umm Hani’ yet it is described as “from al-Masjid al-Haram”.

The Federal Territory Mufti Office (Malaysia) also inclines to this view (Irsyad al-Hadith, no. 130).

Other views

Some scholars, including Muhibb al-Din al-Tabari and Ibn Hajar al-Haitami, held that the multiplication is specific to the mosque only.

In practice: praying at a hotel inside the boundaries of the Haram can still be hoped to earn the multiplication. But praying in congregation in Masjid al-Haram remains better for those who are able, because its multiplication is agreed upon.

  • There are no forbidden times for voluntary prayer in the Haram of Makkah. This exception does not apply in Madinah (Tabung Haji course notes 1448H, Module 1).
  • Protected from the Dajjal. There is no land the Dajjal will not enter except Makkah and Madinah (Sahih al-Bukhari, no. 1881).
  • A place of safety, as in the prayer of the Prophet Ibrahim (peace be upon him) (Surah Ibrahim, verses 35 to 37).

Full guidePraying in Masjid al-HaramRows, routes and the funeral prayer after the obligatory prayer

Madinah

The Haram of Madinah

The Messenger of Allah ﷺ set the boundaries of the Haram of Madinah:

الْمَدِينَةُ حَرَمٌ مَا بَيْنَ عَيْرٍ إِلَى ثَوْرٍ

“Madinah is a sacred precinct from (Mount) ‘Air to (Mount) Thawr.”

Sahih al-Bukhari, no. 6755, and Sahih Muslim, no. 1370, narrated by ‘Ali (may Allah be pleased with him)

Mount ‘Air lies south of Madinah, near the miqat of Bir ‘Ali, while Mount Thawr is a small hill behind Mount Uhud to the north. In other narrations, the boundary is described as “between the two lava fields” (labah) to the east and west of Madinah (Sahih Muslim, no. 1361 and 1362).

The rocky slopes of Mount Uhud, north of Madinah
The slopes of Mount Uhud, north of Madinah. Mount Thawr, the northern boundary marker of the Haram of Madinah, lies behind it. Photo: AkuIslam crew.
  • Hunting and cutting trees in Madinah are forbidden, but there is no dam according to the new opinion (qawl jadid) of Imam al-Shafi‘i (Minhaj al-Talibin).
  • A prayer in Masjid an-Nabawi is better than a thousand prayers in other mosques, except Masjid al-Haram (Sahih al-Bukhari, no. 1190).
  • The forbidden times for voluntary prayer still apply in Madinah, including in the Rawdah.

A difference of opinion

Does the multiplication of 1,000 cover the expansions of Masjid an-Nabawi?

Shafi‘i school

Al-Nawawi held that this virtue is specific to the area of the mosque in the time of the Messenger of Allah ﷺ, not including the areas added later (Sharh Sahih Muslim, 9/166).

Other views

Other scholars, including Ibn Taymiyyah, held that the added areas take the ruling of the original mosque.

In practice: try to pray in the old part of the mosque if it is easy, but do not push or hurt other worshippers to get there.

Full guideVisiting MadinahVisiting the grave, the Rawdah, Quba and Uhud

Comparison

Makkah and Madinah Compared

MatterMakkah and Madinah
BoundariesMakkah: Tan‘im to Hudaibiyah
Madinah: Mount ‘Air to Mount Thawr
Hunting and cutting treesMakkah: forbidden, requires dam
Madinah: forbidden, no dam
Multiplied reward of prayerMakkah: 100,000
Madinah: 1,000 in Masjid an-Nabawi
Forbidden times for voluntary prayerMakkah: do not apply
Madinah: apply
Non-MuslimsMakkah: forbidden entirely
Madinah: in Shafi‘i fiqh, may enter with permission and without settling

Mistakes

Common Mistakes by Pilgrims

  1. Picking leaves, flowers or twigs as souvenirs in Makkah or Mina.
  2. Taking leftover Muzdalifah pebbles home. Muzdalifah is inside the Haram, so its pebbles may not be taken out. Leave the remaining pebbles in Mina.
  3. Taking soil or sand from Makkah home as “blessed earth”.
  4. Chasing or catching pigeons in the courtyard of Masjid al-Haram.
  5. Keeping lost property you find. Hand it to the staff or the lost property centre.
  6. Thinking Arafah is inside the Haram, and then being confused about the rulings on trees and prayer there.

Full guideMabit at Muzdalifah and MinaHow to stay overnight, collecting pebbles and the ruling if you have an excuse

Also in MakkahRules in Makkah18 things to avoid at Masjid al-Haram, from tawaf to filming

Q&A

Frequently Asked Questions

What are the boundaries of the Haram of Makkah?

They are marked on every road into Makkah: Tan‘im to the north, Adat Laban to the south, Wadi Nakhlah to the north-east, Ji‘ranah to the east, Batn Namirah towards Arafah, and Hudaibiyah towards Jeddah. Mina and Muzdalifah are inside it, and Arafah is outside it.

What is prohibited in the Haram?

Hunting game, cutting trees that grow wild, picking up lost property to keep it, and taking its soil or stones out. These prohibitions apply to everyone, even those not in ihram.

Can I take soil or stones home from Makkah?

It is not permitted according to the more correct view in the Shafi‘i school. If you have already taken some, it should be returned. Zamzam water is an exception and may be taken home.

Is Arafah part of the Haram?

No. Arafah is outside the boundaries of the Haram. Mina and Muzdalifah, however, are inside it.

Is the multiplication of 100,000 only inside Masjid al-Haram?

There is a difference of opinion. Many Shafi‘i scholars hold that it covers the whole Haram of Makkah, while others restrict it to the mosque. Praying in congregation in the mosque remains better for those who are able.

Is Madinah also a Haram?

Yes. The Messenger of Allah ﷺ made Madinah sacred between Mount ‘Air and Mount Thawr. Hunting and cutting trees there are forbidden, but there is no dam according to the qawl jadid of Imam al-Shafi‘i.

Sources

References

  1. Al-Nawawi, Minhaj al-Talibin: the chapter on the prohibitions of ihram, the book of lost property and the book of jizyah.
  2. Al-Nawawi, al-Idah fi Manasik al-Hajj (Dar al-Basha’ir, with the commentary of Ibn Hajar): the boundaries of the Haram (issue 23), Arafah being outside the Haram, and the ruling on its soil and zamzam water.
  3. Al-Nawawi, Rawdat al-Talibin, 3/168. Al-Majmu‘ Sharh al-Muhadhdhab, 7/440, 7/453 and 8/128. Sharh Sahih Muslim, 9/166.
  4. Lembaga Tabung Haji (Malaysia), Hajj Basic Course Notes 1448H, Module 1: History and Introduction to the Holy Land of Makkah and Madinah, and Module 5: The Obligations of Hajj (dam) (in Malay).
  5. Sahih al-Bukhari, no. 1190, 1829, 1834, 1881 and 6755. sunnah.com
  6. Sahih Muslim, no. 1198, 1353, 1360, 1361, 1362 and 1370. sunnah.com
  7. Sunan Ibn Majah, no. 1406. sunnah.com
  8. Ibn Kathir, Tafsir al-Quran al-‘Azim, Surah al-Hajj, verse 25. quran.ksu.edu.sa (in Arabic)
  9. Federal Territory Mufti Office (Malaysia), al-Kafi li al-Fatawi no. 1159: Taking Soil and Plants Home from the Haram. muftiwp.gov.my (in Malay)
  10. Federal Territory Mufti Office (Malaysia), Irsyad al-Hadith no. 130: The Reward of Prayer in Masjid al-Haram. muftiwp.gov.my (in Malay)
  11. Federal Territory Mufti Office (Malaysia), Irsyad al-Fatwa no. 271: The Ruling on Non-Muslims Entering a Mosque. muftiwp.gov.my (in Malay)

Written by

Muhamad Naim Abd Manaf

Founder of AkuIslam. Writing worship guides since 2010 in plain language, with references that are checked.

اِقْرَأْ أَيْضًا

Related Reading

Chosen based on this article

Share your thoughts or questions

Your email address will not be published. Required fields are marked *