I heard Jundub b. Sufyan say: The Messenger of Allah ﷺ fell ill and did not wake up for two or three nights (for prayers) A woman came to him and said: Muhammad, I hope that your satan has left you. I haven't seen him approach you for two or three nights. The narrator says: At this, Allah, the Glorious and Exalted, revealed:" By the Glorious......" (Using translation from Muslim 1797b)
سَمِعْتُ جُنْدُبًا يَقُولُ اشْتَكَى رَسُولُ اللهِ ﷺ فَلَمْ يَقُمْ لَيْلَتَيْنِ أَوْ ثَلَاثًا فَجَاءَتْهُ امْرَأَةٌ فَقَالَتْ يَا مُحَمَّدُ إِنِّي أَرْجُو أَنْ يَكُونَ شَيْطَانُكَ قَدْ تَرَكَكَ لَمْ أَرَهُ قَرَبَكَ مُنْذُ لَيْلَتَيْنِ أَوْ ثَلَاثٍ فَأَنْزَلَ اللهُ تَعَالَى {وَالضُّحَى وَاللَّيْلِ إِذَا سَجَى مَا وَدَّعَكَ رَبُّكَ وَمَا قَلَى} [الضحى 2]