Hadithcore
Jami` at-Tirmidhi, 3212
sahih· Darussalam

Narrated Anas:

"When this Ayah was revealed: 'But you did hide in yourself that which Allah will make manifest... (33:37)' about Zainab bint Jahsh, Zaid had come to the Prophet (ﷺ) complaining, and he wanted to divorce her, so he consulted with the Prophet (ﷺ). The Prophet (ﷺ) said: 'Keep your wife to yourself, and have Taqwa of Allah (33:37).'"

حَدَّثَنَا أَحْمَدُ بْنُ عَبْدَةَ الضَّبِّيُّ، حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، عَنْ ثَابِتٍ، عَنْ أَنَسٍ، قَالَ نَزَلَتْ هَذِهِ الآيَةُ ‏:‏ ‏(‏وتُخْفِي فِي نَفْسِكَ مَا اللَّهُ مُبْدِيهِ وَتَخْشَى النَّاسَ ‏)‏ فِي شَأْنِ زَيْنَبَ بِنْتِ جَحْشٍ جَاءَ زَيْدٌ يَشْكُو فَهَمَّ بِطَلاَقِهَا فَاسْتَأْمَرَ النَّبِيَّ صلى الله عليه وسلم فَقَالَ النَّبِيُّ صلى الله عليه وسلم ‏

‏ أَمْسِكْ عَلَيْكَ زَوْجَكَ وَاتَّقِ اللَّهَ ‏

‏ ‏.‏ قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ ‏.‏

References2 variants
In-Book Reference
Book 47, Hadith 264
English Reference
Vol. 5, Book 44, Hadith 3212