Full Sharh — Al-Adab Al-Mufrad 1099
حَدَّثَنَا خَلِيفَةُ، قَالَ: حَدَّثَنَا أَبُو عَاصِمٍ، قَالَ: حَدَّثَنَا ابْنُ جُرَيْجٍ، عَنْ أَبِي الزُّبَيْرِ، عَنْ جَابِرٍ، أَنَّهُ سَمِعَ النَّبِيَّ صلى الله عليه وسلم يَقُولُ: إِذَا دَخَلَ الرَّجُلُ بَيْتَهُ، فَذَكَرَ اللَّهَ عَزَّ وَجَلَّ عِنْدَ دُخُولِهِ، وَعِنْدَ طَعَامِهِ، قَالَ الشَّيْطَانُ: لاَ مَبِيتَ لَكُمْ وَلاَ عَشَاءَ، وَإِذَا دَخَلَ فَلَمْ يَذْكُرِ اللَّهَ عِنْدَ دُخُولِهِ قَالَ الشَّيْطَانُ: أَدْرَكْتُمُ الْمَبِيتَ، وَإِنْ لَمْ يَذْكُرِ اللَّهَ عِنْدَ طَعَامِهِ قَالَ الشَّيْطَانُ: أَدْرَكْتُمُ الْمَبِيتَ وَالْعَشَاءَ.
English Translation
Jabir reported that the Prophet, may Allah bless him and grant him peace, said, "When a man enters his house, he should Allah mention Allah Almighty, both when he enters and he eats. If he does so, Shaytan says (i.e. to the shayatin), 'You cannot spend the night or eat.' When he enters and does not mention Allah when he enters, Shaytan says, 'You have got your lodgings for the night and your supper.'"
Source
Al-Adab Al-Mufrad(الأدب المفرد)
Asking Permission
Hadith Number
1099