The Messenger of Allah ﷺ said, "Whoever cauterizes himself or seeks a charm has freed himself from reliance upon Allah."
حدثنا محمد بن بشار حدثنا عبد الرحمن بن مهدي حدثنا سفيان عن منصور عن مجاهد
قال رسول الله ﷺ من اكتوى أو استرقى فقد برئ من التوكل
[Hasan]Ibn Majah also narrated it in the Book of Medicine, Chapter on Cauterization, h: 3489, from the hadith of Mujahid through the same route.There is also a narration on this topic from Ibn Masud [Ahmad: 1/390, 406, 423, 426, and Abu Dawud, h: 3866, and Ibn Majah, h: 3489], Ibn Abbas [coming up: 2446], and Imran bin Husayn [Muslim, h: 218].