Advertisement

Is trespassing haram?

Abandoned equipment and "No Trespassing" sign, Petrolia, Ontario, 2026-05
Photo: Chris Woodrich, CC BY-SA 4.0 via Wikimedia Commons

Yes, trespassing is haram when you enter someone's property without permission. Islam protects people's homes and land, and asking permission is a Quranic manner. Walking on public paths, or on land where the law gives a right to roam, is fine.

Respecting other people's property

A person's home and land belong to them, and Islam treats that ownership as sacred. The Quran teaches believers to ask before entering:

يَـٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ لَا تَدْخُلُوا۟ بُيُوتًا غَيْرَ بُيُوتِكُمْ حَتَّىٰ تَسْتَأْنِسُوا۟ وَتُسَلِّمُوا۟ عَلَىٰٓ أَهْلِهَا "O you who have believed, do not enter houses other than your own houses until you ascertain welcome and greet their inhabitants..." Quran 24:27

The Prophet ﷺ said that if you ask permission three times and aren't given it, you should go back (Sahih al-Bukhari 6245). He also warned that whoever takes even a hand-span of land unjustly will have it hung around his neck from seven earths on the Day of Judgement (Sahih al-Bukhari 2452). Using someone's land as if it were yours is a serious matter.

Common examples

  • Climbing a fence into a private garden, farm, building site or abandoned building: not allowed without the owner's permission.
  • Cutting across a neighbour's garden to save time: ask first. Many will say yes, and then it's fine.
  • Fishing, camping or picking fruit on private land without consent: not allowed, as you're also using what belongs to someone else.
  • "Urban exploring" in closed buildings: trespass, and often dangerous too.

The same idea covers using things that aren't yours without asking. See Is it haram to use my neighbor's Wi-Fi without asking?

When it is allowed

  • Public footpaths and parks. In the UK, public rights of way cross private farmland legally. Stay on the path and close gates.
  • Right to roam. Scotland, Scandinavia and parts of England allow responsible access to open countryside by law. That counts as permission.
  • Customary permission. Walking up to a front door to deliver a letter or knock is normally accepted.
  • Real emergencies, such as saving someone's life or escaping danger. Explain and apologise afterwards.

Respecting these local rules is part of keeping your country's fair laws. See Do I have to follow the laws of my country as a Muslim?

If you've trespassed before

Repent sincerely. If you damaged anything or took anything, make it right with the owner, even anonymously if needed. On your next hike, a little planning keeps you on the right side of both the law and your faith. See What are the Islamic manners of traveling?

Key points
  • Entering private property without permission is haram.
  • The Quran teaches asking permission before entering.
  • Public paths and legal right-to-roam land are fine.
  • Repair any damage and repent if you've trespassed.
Tip: Use an Ordnance Survey or hiking app that shows public footpaths before you head out. It saves you from wandering onto private land by accident.

People also ask

Is it haram to buy stolen goods?

Yes, it is haram to buy goods you know or suspect are stolen; they still belong to the owner. If you bought one unknowingly, try to return it.

Read the full answer →
Does Islam protect the right to privacy?

Yes, Islam protects privacy: the Quran forbids spying and entering homes without permission, and Muslims are told to cover others' faults.

Read the full answer →
Does Islam believe in innocent until proven guilty?

Yes, Islam treats people as innocent until proven guilty: the accuser must bring evidence, reports must be verified and doubt protects the accused.

Read the full answer →
Is stealing from the government haram?

Yes, stealing from the government is haram. Benefit fraud, tax evasion and taking public property wrong everyone, even under a non-Muslim state.

Read the full answer →
Can Muslims sign a petition to change a law?

Yes, Muslims can sign a petition to change a law. Peacefully asking for a fairer law is enjoining good and sincere advice, which Islam encourages.

Read the full answer →