Fiqh-us-Sunnah Volume 4, Funerals and Dhikr, Fiqh 4.125.
Jabir reported, “I heard the Prophet, peace be upon him, saying, ‘If a man remembers Allah while entering his house and eating his meals, the devil says to his forces, “You will have no place to sleep or food to eat.” But if the person fails to remember Allah while entering his house the devil says to them, “You have found the place to rest at night.” And if he does not remember Allah while eating meals, the devil says, “You have found the place to rest and meals to eat.” “(Muslim)
Abu Malik Al-Asha’ri reported that the Prophet, peace be upon him, said, “When a man enters his house he should say, ‘O Allah, I seek of You the best of entrance and the best of departure. In the name of Allah we enter and in the name of Allah we go out, and we put our trust in Allah, our Lord,’ and then he should greet his family.” (Abu Daw’ud)
Anas reported that the Prophet, peace be upon him, said to him, “O son, when you enter your house say, ‘As-Salamu Alaykum (peace be upon you).’ It will bring blessing to you and to your family.” (Tirmizhi)