Jundab reported,

The Prophet ﷺ fell ill and did not stand for prayer for a night or two. A woman came to him and said, "Muhammad, I see that your devil has finally abandoned you."So Allah عز وجل revealed, "By the morning brightness, and by the night when it grows still, your Lord has not forsaken you, nor does He hate you" [Duha 93:1–3].

Bukhari 4983

Sahih

حدثنا أبو نعيم حدثنا سفيان عن الأسود بن قيس قال سمعت

جندبا يقول

اشتكى النبي ﷺ فلم يقم ليلة أو ليلتين فأتته امرأة فقالت يا محمد ما أرى شيطانك إلا قد تركك فأنزل الله عز وجل {والضحى والليل إذا سجى ما ودعك ربك وما قلى}

البخاري 4983صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Virtues of the Quran
Chapter
How revelation descended and what was revealed first
Numbering
Darussalam 4983
Bukhari 4983