It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) forbade a person from entering his house in the city without informing (the people at home).
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 14327
Hadith Gradingحکم دارالسلام:حديث صحيح، خ: 5246، م: 715، وهذا إسناد ضعيف جداً، من أجل نصر بن باب الخراساني المروزي