Anyone who tells you that Muhammad ﷺ concealed something of what Allah revealed to him has lied, for Allah says, "Messenger, proclaim what has been sent down to you from your Lord" [Maidah 5:67].In another narration she added, "Had Muhammad ﷺ concealed anything of what was revealed to him, he would have concealed this verse, 'And when you said to the one whom Allah had favored and whom you had favored, Keep your wife and be mindful of Allah, while you hid within yourself what Allah was going to bring to light, and you feared the people when it is Allah whom you should rightly fear. So when Zayd had no further need of her, We gave her to you in marriage, so that there would be no restriction upon the believers concerning the wives of their adopted sons, once they have no further need of them. And the command of Allah was carried out.'" [Surah Ahzab 33:37]
من حدثك أن محمدا ﷺ كتم شيئا مما أنزل الله عليه فقد كذب، والله يقول: {يأيها الرسول بلغ ما أنزل إليك} وزاد في رواية: قالت: ولو كان محمد ﷺ كاتما شيئا مما أنزل عليه، لكتم هذه الآية: {واذ تقول للذي انعم الله عليه وانعمت عليه امسك عليك زوجك واتق الله وتخفي في نفسك ما الله مبديه وتخشى الناس والله احق ان تخشىه فلما قضى زيد منها وطرا زوجنكها لكي لا يكون على المؤمنين حرج في ازواج ادعيآىهم اذا قضوا منهن وطرا وكان امر الله مفعولا} [سورة الأحزاب: ٣٧].
Bukhari narrated it in the tafsir (4612), from Muhammad bin Yusuf, who said, our teacher Sufyan narrated to us, from Ismail (that is, Ibn Abu Khalid), from Shaybi, from Masruq, from Ayesha, and he related it.Muslim narrated it in the book of faith (177:287), from Zuhayr bin Harb, from Ismail bin Ibrahim (that is, Ibn Ulaya), from Dawud (that is, Ibn Abu Hind), from Shaybi, with the same wording.Then Muslim said (177:288), Muhammad bin Muthanna narrated to us, our teacher Abdul-Wahhab (that is, Thaqafi) narrated to us, our teacher Dawud narrated to us with this same chain of transmission, similar to the hadith of Ibn Ulaya, and he added... he related the addition mentioned.Something similar to it is found in Bukhari through another route, as in the hadith that follows.