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.
muslim:2708bHārūn b. Maʿrūf And ʾAbū al-Ṭāhir > Ibn Wahb Wa-al-Lafẓ Lihārūn > ʿAbdullāh b. Wahb > ʿAmr Wahū Ibn al-Ḥārith > Yazīd b. Abū Ḥabīb Wa-al-Ḥārith b. Yaʿqūb > Yaʿqūb b. ʿAbdullāh b. al-Ashaj > Busr b. Saʿīd > Saʿd b. Abū Waqqāṣ > Khawlah b. Ḥakīm al-Sulamiyyah

I heard Messenger of Allah ﷺ as saying: When any one of you stays at a place, he should say:" I seek refuge in the Perfect Word of Allah from the evil of that He created." Nothing would then do him any harm until he moves from that place. Abu Huraira reported that a person came to Messenger of Allah ﷺ and said:" Messenger of Allah, I was stung by a scorpion during the night. Thereupon he said: Had you recited these words in the evening:" I seek refuge in the Perfect Word of Allah from the evil of what He created," it would not have done any harm to you.  

مسلم:٢٧٠٨bوَحَدَّثَنَا هَارُونُ بْنُ مَعْرُوفٍ وَأَبُو الطَّاهِرِ كِلاَهُمَا عَنِ ابْنِ وَهْبٍ وَاللَّفْظُ لِهَارُونَ حَدَّثَنَا عَبْدُ اللَّهِ بْنُ وَهْبٍ قَالَ وَأَخْبَرَنَا عَمْرٌو وَهُوَ ابْنُ الْحَارِثِ أَنَّ يَزِيدَ بْنَ أَبِي حَبِيبٍ وَالْحَارِثَ بْنَ يَعْقُوبَ حَدَّثَاهُ عَنْ يَعْقُوبَ بْنِ عَبْدِ اللَّهِ بْنِ الأَشَجِّ عَنْ بُسْرِ بْنِ سَعِيدٍ عَنْ سَعْدِ بْنِ أَبِي وَقَّاصٍ عَنْ خَوْلَةَ بِنْتِ حَكِيمٍ السُّلَمِيَّةِ

أَنَّهَا سَمِعَتْ رَسُولَ اللَّهِ ﷺ يَقُولُ إِذَا نَزَلَ أَحَدُكُمْ مَنْزِلاً فَلْيَقُلْ أَعُوذُ بِكَلِمَاتِ اللَّهِ التَّامَّاتِ مِنْ شَرِّ مَا خَلَقَ فَإِنَّهُ لاَ يَضُرُّهُ شَىْءٌ حَتَّى يَرْتَحِلَ مِنْهُ قَالَ يَعْقُوبُ وَقَالَ الْقَعْقَاعُ بْنُ حَكِيمٍ عَنْ ذَكْوَانَ أَبِي صَالِحٍ عَنْ أَبِي هُرَيْرَةَ أَنَّهُ قَالَ جَاءَ رَجُلٌ إِلَى النَّبِيِّ ﷺ فَقَالَ يَا رَسُولَ اللَّهِ مَا لَقِيتُ مِنْ عَقْرَبٍ لَدَغَتْنِي الْبَارِحَةَ قَالَ أَمَا لَوْ قُلْتَ حِينَ أَمْسَيْتَ أَعُوذُ بِكَلِمَاتِ اللَّهِ التَّامَّاتِ مِنْ شَرِّ مَا خَلَقَ لَمْ تَضُرُّكَ