Abu Hurairah (May Allah be pleased with him) reported:
A man came to the Prophet (ﷺ) and said, "What a trouble I suffered from a scorpion which stung me last night!" He (ﷺ) said, "Had you said in the evening: 'A'udhu bikalimatillahit-tammati min sharri ma khalaqa (I seek the protection of Allah's Perfect Words from the evil of whatever He has created),' it would not have harmed you."[Muslim].
App reference: Book 16, Hadith 45
Arabic/English book reference: Book 16, Hadith 1452