It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that he heard the Prophet (peace and blessings be upon him) say: When a person enters his house and mentions the name of Allah at the time of entering and at the time of eating, Satan says: There is no place for you to spend the night here, nor any food. But if he does not mention the name of Allah when entering the house, Satan says: You have found a place to spend the night. And if he does not mention the name of Allah at the time of eating as well, Satan says: You have found both a place to stay and food.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 15108