Narrated Anas bin Malik:I of all the people know best this verse of Al-Hijab. When Allah's Messenger (ﷺ) married Zainab bint Jahsh she was with him in the house and he prepared a meal and invited the people (to it). They sat down (after finishing their meal) and started chatting. So the Prophet (ﷺ) went out and then returned several times while they were still sitting and talking. So Allah revealed the Verse: 'O you who believe! Enter not the Prophet's houses until leave is given to you for a meal, (and then) not (so early as) to wait for its preparation .....ask them from behind a screen.' (33.53) So the screen was set up and the people went away
يَـٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ لَا تَدْخُلُوا۟ بُيُوتَ ٱلنَّبِىِّ إِلَّآ أَن يُؤْذَنَ لَكُمْ إِلَىٰ طَعَامٍ غَيْرَ نَـٰظِرِينَ إِنَىٰهُ وَلَـٰكِنْ إِذَا دُعِيتُمْ فَٱدْخُلُوا۟ فَإِذَا طَعِمْتُمْ فَٱنتَشِرُوا۟ وَلَا مُسْتَـْٔنِسِينَ لِحَدِيثٍ ۚ إِنَّ ذَٰلِكُمْ كَانَ يُؤْذِى ٱلنَّبِىَّ فَيَسْتَحْىِۦ مِنكُمْ ۖ وَٱللَّهُ لَا يَسْتَحْىِۦ مِنَ ٱلْحَقِّ ۚ وَإِذَا سَأَلْتُمُوهُنَّ مَتَـٰعًا فَسْـَٔلُوهُنَّ مِن وَرَآءِ حِجَابٍ ۚ ذَٰلِكُمْ أَطْهَرُ لِقُلُوبِكُمْ وَقُلُوبِهِنَّ ۚ وَمَا كَانَ لَكُمْ أَن تُؤْذُوا۟ رَسُولَ ٱللَّهِ وَلَآ أَن تَنكِحُوٓا۟ أَزْوَٰجَهُۥ مِنۢ بَعْدِهِۦٓ أَبَدًا ۚ إِنَّ ذَٰلِكُمْ كَانَ عِندَ ٱللَّهِ عَظِيمًا
O you who have believed, do not enter the houses of the Prophet except when you are permitted for a meal, without awaiting its readiness. But when you are invited, then enter; and when you have eaten, disperse without seeking to remain for conversation. Indeed, that [behavior] was troubling the Prophet, and he is shy of [dismissing] you. But Allāh is not shy of the truth. And when you ask [his wives] for something, ask them from behind a partition. That is purer for your hearts and their hearts. And it is not [conceivable or lawful] for you to harm the Messenger of Allāh or to marry his wives after him, ever. Indeed, that would be in the sight of Allāh an enormity.
Saheeh International
Narrated Al-Ja'd bin Abi 'Uthman:from Anas bin Malik: "The Messenger of Allah (ﷺ) got married, and he went in with his wife." He said: "So my mother, Umm Sulaim prepared some Hais in a Tawr (a vessel made of brass and stone) and said: 'O Anas! Take this to the Prophet (ﷺ).' I said to him: 'My mother sent this to you, and she conveys her Salam, and says: 'This is a little something from us for you.'" He said: 'Put it down.' Then he said: 'Go and invite so-and-so, so-and-so, and so-and-so for me, and whomever you meet.'" He named some people, and said: "I invited those he named, and whomever I met." - He (Al-Ja'd) said: "I said to Anas: 'How many of you were there?' He said: 'Roughly about…
Narrated Anas bin Malik:"The Messenger of Allah (ﷺ) was staying with one of his wives, so he sent me to invite people for a meal. When they ate and left, the Messenger of Allah (ﷺ) stood and went off in the direction of 'Aishah's house. He saw two men (still) sitting, so he turned to come back, then the two men stood up to leave. So Allah [the Mighty and Sublime] revealed: 'O you who believe! Do not enter the Prophet's house unless permission is given to you for a meal, not to wait for its preparation (33:53)." And there is a long story with the narration