Anas bin Malik reported,

The Messenger of Allah ﷺ said, "When one of you feels pain, let him place his hand where he feels the pain 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 of this pain of mine.' Then let him lift his hand and repeat this an odd number of times."

Azami 11475

Hasan

عن أنس بن مالك

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

الأعظمي 11475حسن
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 11475 (2nd edition)
Azami 11475