(15) باب زَوَاجِ زَيْنَبَ بِنْتِ جَحْشٍ وَنُزُولِ الْحِجَابِ وَإِثْبَاتِ وَلِيمَةِ الْعُرْسِ
Anas (Allah be pleased with him) reported:
When Allah's Apostle (ﷺ) contracted marriage with Zainab (Allah be pleased with bet), Umm Sulaim sent him hats in a vessel of stone as a gift. Anas stated that Allah's Messenger (ﷺ) said to him: Go and invite on my behalf all the Muslims whom you meet. So I invited on his behalf everyone whom I met. They entered (his house) and they ate and went out. And Allah's Messenger (ﷺ) had kept his hand on the food, and he invoked blessing on that, and said whatever Allah wished him to say, and none whom I met was left uninvited. They ate to their fill and went out, but a group among them remained there and was engaged in lengthy discussion. Allah's Apostle (ﷺ) felt shy of saying them anything. So he went out and left them in his house and Allah the Great and Majestic revealed this verse:" 0 you who believe, enter not the houses of the Prophet unless permission is given to you for a meal, not waiting for its cooking being finished." Qatada (instead of using the word Ghaira Nazirina) used the word Ghaira Mutahayyinina (i. e. not waiting for the time of the food). But when you are invited, enter..." up to this verse. This is purer for your hearts and their hearts.
Reference: Sahih Muslim 1428 h
In-book reference: Book 16, Hadith 111
USC-MSA web (English) reference(deprecated numbering scheme): Book 8, Hadith 3336