We went to Allah's Messenger (ﷺ) as he was in the fold and he was cauterising the animals of the flock and I think (he was cauterising them) on their ears. This hadith has been narrated on the authority of Shu'ba through another chain of transmitters.
Sahih Muslim Book 37, Hadith 167