I heard the Prophet (ﷺ) saying, "If there is any good in your medicines, then it is in a gulp of honey, a cupping operation, or branding (cauterization), but I do not like to be (cauterized) branded.
Sahih al-Bukhari Book 76, Hadith 22