Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:68:19

So there came upon the garden an affliction from your Lord while they were asleep.  

Then a visitation from your Lord visited it, ˹that is˺ a fire consumed it during the night, while they slept.
القرآن:٦٨:١٩

فَطَافَ عَلَيْهَا طَائِفٌ مِنْ رَبِّكَ وَهُمْ نَائِمُونَ  

{فطاف عليها طائف من ربك} نار أحرقتها ليلا {وهم نائمون}.