Abu Hurairah reported,

A man came to the Prophet ﷺ and said, "Messenger of Allah, what I have suffered from a scorpion that stung me last night!"The Prophet ﷺ replied, "Had you said when evening came, 'I seek refuge in the perfect words of Allah from the evil of what He has created,' it would not have harmed you."In another narration, "Whoever says three times when evening comes, 'I seek refuge in the perfect words of Allah from the evil of what He has created,' no venomous sting will harm him that night."

Azami 11208

Sahih

عن أبي هريرة أنه قال

جاء رجل إلى النبي ﷺ فقال: يا رسول الله ما لقيت من عقرب لدغتني البارحة قال: أما لو قلت حين أمسيت أعوذ بكلمات الله التامات من شر ما خلق لم تضرك. وفي رواية: من قال حين يمسي ثلاث مرات: أعوذ بكلمات الله التامات من شر ما خلق لم يضره حمة تلك الليلة.

الأعظمي 11208صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Morning and evening supplications
Section
Supplications and remembrances in the morning and evening
Numbering
Jami al-Kamil 11208 (2nd edition)
Azami 11208