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.
ahmad:12511Muʾammal b. Ismāʿīl > Ḥammād b. Zayd > Thābit > Anas

[Machine] The Messenger of Allah ﷺ came to the house of Zaid ibn Harithah and saw his wife Zainab, and it seemed as if he had entered when I'm not sure, whether it was said by Hammad or in the Hadith. Then Zaid came complaining to him about her, so the Prophet ﷺ said to him, "Keep your wife and fear Allah." So the verse came down: "And fear Allah and keep secret what Allah has revealed." [Quran 33:37] until the verse: "We married her to you." [Quran 33:37] meaning Zainab.  

أحمد:١٢٥١١حَدَّثَنَا مُؤَمَّلُ بْنُ إِسْمَاعِيلَ حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ حَدَّثَنَا ثَابِتٌ عَنْ أَنَسٍ قَالَ

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