Al-Aswad bin Qays said: I heard Sayyiduna Jundub (may Allah be pleased with him) say that the Prophet (peace and blessings be upon him) fell ill, and he (peace and blessings be upon him) did not stand in prayer for a night or two. A woman came and said: "O Muhammad, I think (Allah forbid) that your devil has abandoned you." So Allah Almighty revealed these verses: "By the morning brightness, and by the night when it covers with stillness, your Lord has not forsaken you, nor is He displeased" [Surah al-Duha: 1-3].
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 4720