Sunan Ibn Majah, Book 34, Hadith 61 (Ibn Majah 3889)

It was narrated from Jabir bin ‘Abdullah that he heard the Prophet (ﷺ) say:

“When a man enters his house, and remembers Allah when he enters and when he eats, Satan says: ‘You have no place to stay and no supper.’ If he enters his house and does not remember Allah upon entering, Satan says: ‘You have found a place to stay.’ And if he does not remember Allah when he eats, (Satan) says: ‘You have found a place to stay and supper.’”