24:29
لَیْسَ عَلَیْكُمْ جُنَاحٌ اَنْ تَدْخُلُوا بُیُوتًا غَیْرَ مَسْكُونَةٍ فٖیهَا مَتَاعٌ لَكُمْؕ وَاللّٰهُ یَعْلَمُ مَا تُبْدُونَ وَمَا تَكْتُمُونَ
Laysa AAalaykum junahun an tadkhuloo buyootan ghayra maskoonatin feeha mataAAun lakum waAllahu yaAAlamu ma tubdoona wama taktumoona
Translations
There is no blame upon you for entering houses not inhabited in which there is convenience for you. And Allah knows what you reveal and what you conceal
Saheeh International
(It is) no sin for you to enter uninhabited houses wherein is comfort for you. Allah knoweth what ye proclaim and what ye hide
Marmaduke Pickthall