Supplications to be made at Various Times - Section 1 Mishkat al-Masabih 2423
Arabic hadith text
وَعَنْ أَبِي هُرَيْرَةَ قَالَ: جَاءَ رَجُلٌ إِلَى رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَقَالَ: يَا رَسُولَ اللَّهِ مَا لَقِيتُ مِنْ عَقْرَبٍ لَدَغَتْنِي الْبَارِحَةَ قَالَ:" أَمَا لَوْ قُلْتَ حِينَ أَمْسَيْتَ: أَعُوذُ بِكَلِمَاتِ اللَّهِ التَّامَّاتِ مِنْ شَرِّ مَا خلق لم تَضُرك ". رَوَاهُ مُسلم
Translation
Abu Huraira told of a man coming to God’s messenger and saying, “Messenger of God, what I have suffered from a scorpion which stung me last night!” He replied that if he had said in the evening, "I seek refuge in God’s perfect words from the evil of what He has created," it would not have harmed him. Muslim transmitted it.