The Reason for the Revelation of Surah Ad-Duha
Imam Ahmad recorded from Jundub that he said,
"The Prophet became ill, so he did not stand for prayer for a night or two. Then a woman came and said,
`O Muhammad! I think that your devil has finally left you.'
So Allah revealed,
وَالضُّحَى
وَالَّيْلِ إِذَا سَجَى
مَا وَدَّعَكَ رَبُّكَ وَمَا قَلَى
By the forenoon.
By the night when it darkens.
Your Lord has neither forsaken you nor hates you.
Al-Bukhari, Muslim, At-Tirmidhi, An-Nasa'i, Ibn Abi Hatim and Ibn Jarir, all recorded this Hadith.
This Jundub (who narrated it) is Ibn `Abdullah Al-Bajali Al-`Alaqi. In a narration from Al-Aswad bin Qays, he said that he heard Jundub say that Jibril was slow in coming to the Messenger of Allah . So the idolators said,
"Muhammad's Lord has abandoned him."
So Allah revealed,
وَالضُّحَى
وَاللَّيْلِ إِذَا سَجَى