Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:13362Abū ʿAbdullāh al-Ḥāfiẓ > Abū Sahl Aḥmad b. Muḥammad b. ʿAbdullāh b. Ziyād al-Qaṭṭān > Aḥmad b. Zuhayr b. Ḥarb > Abū Nuʿaym > ʿĪsá b. Ṭahmān > Anas > Kānat

[Machine] Zainab bint Jash, one of the wives of the Prophet Muhammad ﷺ , used to boast and say, "Indeed, Allah married me from the heavens, and the verse of hijab (veiling) was revealed therein." People gathered in the Prophet's house, then he came out and they saw the joy on his face. Then the verse of hijab was revealed: "O you who have believed, do not enter the houses of the Prophet except when permitted for a meal" [Surah Al-Ahzab 33:53].  

البيهقي:١٣٣٦٢أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنبأ أَبُو سَهْلٍ أَحْمَدُ بْنُ مُحَمَّدِ بْنِ عَبْدِ اللهِ بْنِ زِيَادٍ الْقَطَّانُ ثنا أَحْمَدُ بْنُ زُهَيْرِ بْنِ حَرْبٍ ثنا أَبُو نُعَيْمٍ ثنا عِيسَى بْنُ طَهْمَانَ قَالَ سَمِعْتُ أَنَسًا

ؓ يَقُولُ كَانَتْ زَيْنَبُ بِنْتُ جَحْشٍ ؓ تَفْتَخِرُ عَلَى أَزْوَاجِ النَّبِيِّ ﷺ تَقُولُ إِنَّ اللهَ أَنْكَحَنِي مِنَ السَّمَاءِ وَفِيهَا نَزَلَتْ آيَةُ الْحِجَابِ قَالَ فَقَعَدَ الْقَوْمُ فِي بَيْتِ النَّبِيِّ ﷺ ثُمَّ جَاءَ فَخَرَجَ فَجَاءَ وَالْقَوْمُ كَمَا هُمْ فَرُئِيَ ذَلِكَ فِي وَجْهِهِ فَنَزَلَتْ آيَةُ الْحِجَابِ {يَا أَيُّهَا الَّذِينَ آمَنُوا لَا تَدْخُلُوا بُيُوتَ النَّبِيِّ إِلَّا أَنْ يُؤْذَنَ لَكُمْ} [الأحزاب 53]  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ خَلَّادِ بْنِ يَحْيَى عَنْ عِيسَى بْنِ طَهْمَانَ

See similar narrations below:

Collected by Nasāʾī's Kubrá

قَوْلُهُ تَعَالَى: {فَلَمَّا قَضَى زَيْدٌ مِنْهَا وَطَرًا} [الأحزاب: 37]

nasai-kubra:11347Isḥāq b. Ibrāhīm > al-Mulāʾī > ʿĪsá b. Ṭahmān > Anas

[Machine] I heard Anas say that Zainab used to boast over the wives of the Prophet ﷺ , saying, "Allah married me to him from the Heavens," and this verse was revealed regarding her hijab. The Prophet ﷺ went out of the house while they were seated, then returned and found them still seated until this matter was visible in his face. So Allah revealed the verse, "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" [Al-Ahzab 53].  

الكبرى للنسائي:١١٣٤٧أَخْبَرَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ أَخْبَرَنَا الْمُلَائِيُّ حَدَّثَنَا عِيسَى بْنُ طَهْمَانَ قَالَ

سَمِعْتُ أَنَسًا يَقُولُ كَانَتْ زَيْنَبُ تَفْخَرُ عَلَى نِسَاءِ النَّبِيِّ ﷺ «إِنَّ اللهَ ﷻ أَنْكَحَنِي مِنَ السَّمَاءِ» وَفِيهَا نَزَلَتْ آيَةُ الْحِجَابِ خَرَجَ النَّبِيُّ ﷺ وَهُمْ قُعُودٌ ثُمَّ رَجَعَ وَهُمْ قَعُودٌ فِي الْبَيْتِ حَتَّى رُئِيَ ذَلِكَ فِي وَجْهِهِ فَأَنْزَلَ اللهُ ﷻ {يَا أَيُّهَا الَّذِينَ آمَنُوا لَا تَدْخُلُوا بُيُوتَ النَّبِيِّ إِلَّا أَنْ يُؤْذَنَ لَكُمْ إِلَى طَعَامٍ غَيْرَ نَاظِرِينَ إِنَاهُ} [الأحزاب 53]