Hadith.3889 - It is narrated from Jarrah Al-Mada'ini who said: I asked Abu Abdillah عليه السلام about a house that contains three rooms, and these rooms do not have separate enclosures.
Imam عليه السلام said: "Permission is required for the rooms, but there is no need for permission regarding the house."
The compiler of this book, may Allah سبحانه وتعالى have mercy on him, explained: This refers to a house used for income, where tenants reside either by lease or as temporary occupants. Such houses do not require permission to enter the general premises; rather, permission is specifically required for the rooms.
However, for a house that is not intended for rental income, no one is permitted to enter it without explicit permission.