Anas bin Malik reported,

The Messenger of Allah ﷺ held a wedding feast when he consummated his marriage with Zaynab bint Jahsh. He served the people their fill of bread and meat, then went out to the rooms of the Mothers of the Believers, as he used to do on the morning after consummating a marriage. He greeted them and they greeted him, he prayed for them and they prayed for him.When he returned to his house, he saw two men still engaged in conversation. When he saw them, he turned away from his house. When the two men saw the Prophet of Allah ﷺ turn away, they sprang up quickly and left. I do not know whether I informed him of their departure or whether he was informed by someone else. He came back, entered the house, and let down a curtain between me and him, and the verse of the hijab was revealed.Ibn Abu Maryam said, Yahya reported to us, Humayd narrated to me that he heard Anas relate this from the Prophet ﷺ.

Bukhari 4794

Sahih

حدثنا إسحاق بن منصور أخبرنا عبد الله بن بكر السهمي حدثنا حميد

عن أنس رضي الله عنه قال

أولم رسول الله ﷺ حين بنى بزينب بنت جحش فأشبع الناس خبزا ولحما ثم خرج إلى حجر أمهات المؤمنين كما كان يصنع صبيحة بنائه فيسلم عليهن ويسلمن عليه ويدعو لهن ويدعون له فلما رجع إلى بيته رأى رجلين جرى بهما الحديث فلما رآهما رجع عن بيته فلما رأى الرجلان نبي الله ﷺ رجع عن بيته وثبا مسرعين فما أدري أنا أخبرته بخروجهما أم أخبر فرجع حتى دخل البيت وأرخى الستر بيني وبينه وأنزلت آية الحجاب وقال ابن أبي مريم أخبرنا يحيى حدثني حميد سمع أنسا عن النبي ﷺ

البخاري 4794صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tafsir
Chapter
His saying, "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 and do not seek to remain for conversation. Indeed, that was troubling the Prophet, and he is shy of you, but Allah is not shy of the truth. And when you ask them for something, ask them from behind a partition. That is purer for your hearts and their hearts. And it is not for you to trouble the Messenger of Allah or to marry his wives after him ever. Indeed, that would be, in the sight of Allah, an enormity."
Numbering
Darussalam 4794
Bukhari 4794