Translation of the verse 29 from Surah An-Nur : Number of verses 64 - - page 353 - Part 18.
There is no sin on you that you enter (without taking permission) houses uninhabited (i.e. not possessed by anybody), (when) you have any interest in them. And Allah has knowledge of what you reveal and what you conceal.
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.
(24:29) There is, however, no harm if you enter houses which are not dwelling places, but contain something useful for you ; *28 Allah knows what you disclose and what you conceal.
*28) "Houses which are not dwelling place" are the hotels, inns, guest houses, shops, staging bungalows, etc. which are generally open to all people.