Muhammad bin Salim reported,

Thabit Bunani said to me, "Muhammad, when you feel pain, place your hand on the spot where it hurts and say, 'In the name of Allah, I seek refuge in the might of Allah and His power from the evil of what I find, from this pain of mine.' Then lift your hand and repeat this an odd number of times. For Anas bin Malik told me that the Messenger of Allah ﷺ taught him this."

Azami 11486

Hasan

عن محمد بن سالم قال

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

الأعظمي 11486حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Ruqya
Chapter
Comprehensive and general supplications
Section
Ruqyah of the Prophet ﷺ and placing the hand on the ailment
Numbering
Jami al-Kamil 11486 (2nd edition)
Azami 11486