A man from Aslam was stung, and this was mentioned to the Prophet ﷺ. The Prophet ﷺ said, "If you had said when you reached the evening, 'I seek refuge in the perfect words of Allah from the evil of what He has created,' it would not have harmed you."Suhayl said, Whenever any of us was stung, my father Ubayy would ask whether the person had said those words. If they said yes, he would consider that the sting would not harm them.
حدثنا محمد بن جعفر حدثنا شعبة
عن رجل من أسلم أنه لدغ فذكر ذلك للنبي ﷺ فقال النبي ﷺ لو أنك قلت حين أمسيت أعوذ بكلمات الله التامات من شر ما خلق لم تضرك قال سهيل فكان أبي إن لدغ أحد منا يقول قالها فإن قالوا نعم قال كأنه يرى أنها لا تضره