English : Vol. 4, Book 31, Hadith 3518
Grading supplied with this record: Sahih (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
أَمَا إِنَّهُ لَوْ قَالَ حِينَ أَمْسَى أَعُوذُ بِكَلِمَاتِ اللَّهِ التَّامَّاتِ مِنْ شَرِّ مَا خَلَقَ - مَا ضَرَّهُ لَدْغُ عَقْرَبٍ حَتَّى يُصْبِحَ "
It was narrated that Abu Hurairah said:
"A scorpion stung a man and he did not sleep all the night. It was said to the Prophet (ﷺ): "So- and-so was stung by a scorpion and he did not sleep all the night.' He said: "If he had said, last night: A'udhu bikalimatil-lahit-tammati min sharri ma khalaq (I seek refuge in the Perfect Words of Allah from the evil of that which He has created), the scorpion sting would not have harmed him, until morning.'"
Full reference and source
English : Vol. 4, Book 31, Hadith 3518 Arabic : Book 31, Hadith 3647
View source on Sunnah.com (opens in a new tab)