The Messenger of Allah ﷺ fell ill and did not rise for the night prayer for two or three nights. A woman came and said, "Muhammad, I do hope your devil has abandoned you. I have not seen him come near you for two or three nights."So Allah revealed, "By the morning light, and by the night when it grows still, your Lord has not forsaken you, nor is He displeased with you" [Duha 93:1–3].
اشتكي رسول الله ﷺ فلم يقم ليلتين أو ثلاثا، فجاءت امرأة فقالت: يا محمد إني لأرجو أن يكون شيطانك قد تركك، لم أره قربك منذ ليلتين أو ثلاثا. فأنزل الله عز وجل: {والضحى واليل إذا سجى ما ودعك ربك وما قلى}
Bukhari related it in tafsir (4950) and Muslim in jihad (1797:114), both from the hadith of Zuhayr, who said, "Aswad bin Qays narrated to us, he said, 'I heard Jundab bin Abdullah bin Sufyan say...'" and he mentioned it.In another narration found in both of them, Bukhari (1125) and Muslim (1797:114), from the hadith of Sufyan bin Uyayna, from Aswad bin Qays, from Jundab, he said, "Jibreel was withheld from the Messenger of Allah ﷺ, so a woman from Quraysh said..." This is how it appears in Bukhari.In Muslim's version, "The polytheists said, 'Muhammad has been forsaken,' so Allah revealed" "By the morning brightness" [Duha 93:1].This woman is Umm Jameel, the wife of Abu Lahab.As for the wording "the polytheists said," Umm Jameel would simply be counted among these polytheists, so there is no contradiction between the two narrations.What has been said, that the one who spoke was Khadijah, the wife of the Prophet ﷺ, is not correct.Ibn Ishaq's statement suggests that Surah Duha was revealed during the first interruption of revelation. But the correct view is as I have mentioned.See Ibn Hisham (1/241).