it was narrated that a scorpion stung the messenger of allah while he was praying. he came and said may allah curse the scorpion! it does not care whether it stings a prophet or someone else. he called for water and salt and began to pour some of the water and salt on the place of the sting wipe it with his hand and recite say he is allah the one and the two muawwidhat.
روي أن عقربا لدغت رسول الله وهو يصلي فأقبل وهو يقول لعن الله العقرب ما تبالي نبيا لدغت أو غيره . ودعا بماء وملح فجعل يصب من الماء والملح على مكان اللدغة ويمسحه بيده ويقرأ {قل هو الله أحد} والمعوذتين.