From Sahih Bukhari (Hadith 5702):
Narrated Jabir bin `Abdullah: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
Reference: Bukhari 5702