Sunan Ibn Majah, Book 34, Hadith 61 (In-Book) ⓘ
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.’”
حَدَّثَنَا أَبُو بِشْرٍ، بَكْرُ بْنُ خَلَفٍ حَدَّثَنَا أَبُو عَاصِمٍ، عَنِ ابْنِ جُرَيْجٍ، أَخْبَرَنِي أَبُو الزُّبَيْرِ، عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ، أَنَّهُ سَمِعَ النَّبِيَّ ـ صلى الله عليه وسلم ـ يَقُولُ " إِذَا دَخَلَ الرَّجُلُ بَيْتَهُ فَذَكَرَ اللَّهَ عِنْدَ دُخُولِهِ وَعِنْدَ طَعَامِهِ قَالَ الشَّيْطَانُ لاَ مَبِيتَ لَكُمْ وَلاَ عَشَاءَ . وَإِذَا دَخَلَ وَلَمْ يَذْكُرِ اللَّهَ عِنْدَ دُخُولِهِ قَالَ الشَّيْطَانُ أَدْرَكْتُمُ الْمَبِيتَ . فَإِذَا لَمْ يَذْكُرِ اللَّهَ عِنْدَ طَعَامِهِ قَالَ أَدْرَكْتُمُ الْمَبِيتَ وَالْعَشَاءَ " .
also referenced under: Hadith 3887 (Reference) & Volume 5, Book 34, Hadith 3887 (DarusSalam)