Sayyiduna Anas bin Malik (may Allah be pleased with him) narrates: I brought my younger brother to the service of the Prophet Muhammad (peace be upon him) so that he could perform tahneek for him. I found the Prophet Muhammad (peace be upon him) in the garden; he was branding the goats.
The narrator named Shu’bah says: I am fairly certain that the narration also contains these words: He was branding their ears.