The Holy Quran 24:29 — Surah An-Nur
Arabic text
لَّيْسَ عَلَيْكُمْ جُنَاحٌ أَن تَدْخُلُوا۟ بُيُوتًا غَيْرَ مَسْكُونَةٍ فِيهَا مَتَـٰعٌ لَّكُمْ ۚ وَٱللَّهُ يَعْلَمُ مَا تُبْدُونَ وَمَا تَكْتُمُونَ
Translation
There is no harm (sin) if (without permission) you enter uninhabited houses that contain benefit for you (public places or other places that you are allowed to use). Allaah knows what you make public (reveal) and what you keep (conceal) secret (you should therefore watch closely what you do because nothing is hidden from Him).
Tafsir (excerpt) — Tafsir Usmani
Buildings exempt from seeking permission: that is, buildings in which no particular person lives and entry to which is unrestricted, for example, a mosque, a madrasah, a khanqah (Sufi lodge), an inn and so on. If you have some belongings there, or you need to use the place for a while, you may certainly go there.
Preview. The full text opens with JavaScript enabled.