Uthman bin Abu As reported,

Uthman complained to the Messenger of Allah ﷺ about a pain he had been feeling in his body ever since he embraced Islam. The Messenger of Allah ﷺ said to him, "Place your hand on the part of your body that hurts, say 'In the name of Allah' three times, then say seven times, 'I seek refuge in Allah and His power from the evil of what I find and fear.'"In another wording, Uthman reported that he came to the Messenger of Allah ﷺ and said, "I have a pain that has nearly destroyed me."The Messenger of Allah ﷺ said, "Wipe it with your right hand seven times and say, 'I seek refuge in the might of Allah and His power from the evil of what I find.'"Uthman said, "So I said that, and Allah removed what I was suffering from. I have continued to instruct my family and others to use it ever since."

Azami 11484

Sahih

عن عثمان بن أبي العاص الثقفي

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

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