Sayyiduna Imran bin Husayn (may Allah be pleased with him) said: The Messenger of Allah (peace and blessings be upon him) forbade cauterization; then we had ourselves cauterized, but they (the cauteries) neither succeeded nor proved effective.
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 15338