Sahih Muslim, Book 37, Hadith 163 (Muslim 5500)

Jabir reported that there happened to pass before Allah's Apostle (ﷺ) an ass the face of which had been cauterised, whereupon he said:

Allah has cursed one who has cauterised it (on the face).