The Prophet (ﷺ) said, "If there is any healing in your medicines then it is a cupping operation, or branding (cauterization), but I do not like to be (cauterized) branded."
Sahih al-Bukhari Book 76, Hadith 24