Awf bin Malik reported,

We used to perform incantations during the days of ignorance, so we asked, "Messenger of Allah, what do you think of that?"He replied, "Present your incantations to me. There is no harm in incantations as long as they contain no polytheism."

Azami 11469

Sahih

عن عوف بن مالك الأشجعي قال

كنا نرقي في الجاهلية فقلنا: يا رسول الله كيف ترى في ذلك؟ فقال: اعرضوا علي رقاكم، لا بأس بالرقى ما لم يكن فيه شرك.

الأعظمي 11469صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Ruqya
Chapter
Comprehensive and general supplications
Section
Permissibility of ruqya with the Book, transmitted supplications, and non-transmitted supplications as long as they contain no polytheism
Numbering
Jami al-Kamil 11469 (2nd edition)
Azami 11469