Abu Saeed Khudri reported,

Some of the Prophet's ﷺ companions passed by an Arab tribe, but the people did not host them or offer them hospitality. The chief of that tribe then fell ill, and his people came to us and asked, "Do you have any medicine?"We replied, "Yes, but since you did not host us or extend hospitality to us, we will not treat him unless you give us a payment."So they agreed to give us a flock of sheep. One of us began reciting the Opening of the Book over him, and the man recovered.When we came to the Prophet ﷺ, we mentioned this to him. He said, "How did you know it was a ruqyah?" He did not forbid it, but said, "Eat from it, and set aside a share for me along with yourselves."

Tirmidhi 2064

Sahih

حدثنا أبو موسى محمد بن المثنى حدثني عبد الصمد بن عبد الوارث حدثنا شعبة حدثنا أبو بشر قال سمعت أبا المتوكل يحدث

عن أبي سعيد

أن ناسا من أصحاب النبي ﷺ مروا بحي من العرب فلم يقروهم ولم يضيفوهم فاشتكى سيدهم فأتونا فقالوا هل عندكم دواء قلنا نعم ولكن لم تقرونا ولم تضيفونا فلا نفعل حتى تجعلوا لنا جعلا فجعلوا على ذلك قطيعا من الغنم قال فجعل رجل منا يقرأ عليه بفاتحة الكتاب فبرأ فلما أتينا النبي ﷺ ذكرنا ذلك له قال وما يدريك أنها رقية ولم يذكر نهيا منه وقال كلوا واضربوا لي معكم بسهم

الترمذي 2064صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Medicine
Chapter
Taking payment for providing a protective charm
Numbering
Darussalam 2064
Tirmidhi 2064