Ayesha reported,

Aisha reported that whenever someone complained of an ailment, or had a sore or a wound, the Prophet ﷺ would do this with his finger. Sufyan placed his index finger on the ground and then raised it, saying, "In the name of Allah, the soil of our earth mixed with the saliva of one of us, that our sick may be healed by the permission of our Lord."

Azami 11489

Sahih

عن عائشة

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

الأعظمي 11489صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Ruqya
Chapter
Comprehensive and general supplications
Section
Taking soil when performing ruqya
Numbering
Jami al-Kamil 11489 (2nd edition)
Azami 11489