The Statement of Allah the Exalted: "And (remember) when you said to him (Zaid bin Haritha [may Allah be pleased with him] - the freed slave of the Prophet pbuh) on whom Allah has bestowed grace (by guiding him to Islam) and you (O Muḥammad pbuh too) have done favour (by manumitting him): 'Keep your wife to yourself and fear Allah.' But you did hide in yourself (i.e., what Allah has already made known to you that He will give her to you in marriage) that which Allah will make manifest, you did fear people (i.e., Muḥammad pbuh married the divorced wife of his manumitted slave) whereas Allah had a better right that you should fear Him..." (V.33:37)
Reference
Sahih al-Bukhari 4787
In-book reference
Book 65, Hadith 309
USC-MSA web (English)
Vol. 6, Book 60, Hadith 310
Arabic Text
حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ الرَّحِيمِ، حَدَّثَنَا مُعَلَّى بْنُ مَنْصُورٍ، عَنْ حَمَّادِ بْنِ زَيْدٍ، حَدَّثَنَا ثَابِتٌ، عَنْ أَنَسِ بْنِ مَالِكٍ ـ رضى الله عنه ـ أَنَّ هَذِهِ، الآيَةَ {وَتُخْفِي فِي نَفْسِكَ مَا اللَّهُ مُبْدِيهِ} نَزَلَتْ فِي شَأْنِ زَيْنَبَ ابْنَةِ جَحْشٍ وَزَيْدِ بْنِ حَارِثَةَ.