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:54:34

Indeed, We sent upon them a storm of stones, except the family of Lot - We saved them before dawn  

Indeed We unleashed upon them a squall of pebbles, a wind hurling at them pebbles, namely, small stones, a single one ˹of these˺ being no larger than the palm of the hand, and they were destroyed; ˹all˺ except the family of Lot, namely, his two daughters, together with him, whom We delivered at dawn, from among the dawns, the morning time of an unspecified day (had a specific day been meant ˹for that mentioned dawn˺, it ˹sahar˺ would have been treated as a diptote ˹instead of the declined form saharin˺, being a definite noun derived from al-sahar, for with definite nouns one ought to use ˹the preceding definite article˺ al). So was the squall unleashed at first with the family of Lot ˹still there˺? There are two opinions regarding this: in the case of the former ˹that it was unleashed upon them including the family of Lot˺ the exception is understood as a continuous one, while in the case of the latter ˹opinion that they were delivered before the squall˺ the exception is understood as a discontinuous one, even if it ˹‘the family of Lot’˺ is actually subsumed by the collective noun ˹‘the people of Lot’, and so they were delivered˺ as a kindness ˹from God˺;
القرآن:٥٤:٣٤

إِنَّا أَرْسَلْنَا عَلَيْهِمْ حَاصِبًا إِلَّا آلَ لُوطٍ ۖ نَجَّيْنَاهُمْ بِسَحَرٍ  

{إنا أرسلنا عليهم حاصبا} ريحا ترميهم بالحصباء وهي صغار الحجارة الواحد دون ملء الكف فهلكوا {إلا آل لوط} وهم ابنتاه معه {نجيناهم بسحر} من الأسحار وقت الصبح من يوم غير معين ولو أريد من يوم معين لمنع من الصرف لأنه معرفة معدول عن السحر لأن حقه أن يستعمل في المعرفة بأل وهل أرسل الحاصب على آل لوط أولا؟ قولان وعبر عن الاستثناء على الأول بأنه متصل وعلى الثاني بأنه منقطع وإن كان من الجنس تسمحا.