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 direction | Distance 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.

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):
| Act | Ruling |
|---|---|
| Hunting wild land animals that are lawful to eat, including chasing or disturbing them | Forbidden, and requires dam |
| Cutting or uprooting trees and plants that grow wild | Forbidden, and requires dam. Trees planted by people take the same ruling according to the school |
| Picking up lost property to keep it | Forbidden. 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 it | Not permitted, according to the more correct view. Zamzam water is an exception |
| Non-Muslims entering the Haram of Makkah | Forbidden 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).
| Violation | Dam required |
|---|---|
| A large tree | A cow |
| A small tree | A sheep or goat |
| A pigeon | A sheep or goat (al-Majmu‘, 7/440) |
| Locusts and small game | Their value |
| Grass and small plants | Their 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).

- 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
| Matter | Makkah and Madinah |
|---|---|
| Boundaries | Makkah: Tan‘im to Hudaibiyah Madinah: Mount ‘Air to Mount Thawr |
| Hunting and cutting trees | Makkah: forbidden, requires dam Madinah: forbidden, no dam |
| Multiplied reward of prayer | Makkah: 100,000 Madinah: 1,000 in Masjid an-Nabawi |
| Forbidden times for voluntary prayer | Makkah: do not apply Madinah: apply |
| Non-Muslims | Makkah: forbidden entirely Madinah: in Shafi‘i fiqh, may enter with permission and without settling |
Mistakes
Common Mistakes by Pilgrims
- Picking leaves, flowers or twigs as souvenirs in Makkah or Mina.
- Taking leftover Muzdalifah pebbles home. Muzdalifah is inside the Haram, so its pebbles may not be taken out. Leave the remaining pebbles in Mina.
- Taking soil or sand from Makkah home as “blessed earth”.
- Chasing or catching pigeons in the courtyard of Masjid al-Haram.
- Keeping lost property you find. Hand it to the staff or the lost property centre.
- Thinking Arafah is inside the Haram, and then being confused about the rulings on trees and prayer there.
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
- Al-Nawawi, Minhaj al-Talibin: the chapter on the prohibitions of ihram, the book of lost property and the book of jizyah.
- 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.
- Al-Nawawi, Rawdat al-Talibin, 3/168. Al-Majmu‘ Sharh al-Muhadhdhab, 7/440, 7/453 and 8/128. Sharh Sahih Muslim, 9/166.
- 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).
- Sahih al-Bukhari, no. 1190, 1829, 1834, 1881 and 6755. sunnah.com
- Sahih Muslim, no. 1198, 1353, 1360, 1361, 1362 and 1370. sunnah.com
- Sunan Ibn Majah, no. 1406. sunnah.com
- Ibn Kathir, Tafsir al-Quran al-‘Azim, Surah al-Hajj, verse 25. quran.ksu.edu.sa (in Arabic)
- 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)
- Federal Territory Mufti Office (Malaysia), Irsyad al-Hadith no. 130: The Reward of Prayer in Masjid al-Haram. muftiwp.gov.my (in Malay)
- Federal Territory Mufti Office (Malaysia), Irsyad al-Fatwa no. 271: The Ruling on Non-Muslims Entering a Mosque. muftiwp.gov.my (in Malay)



