Sunan Abi Dawud, Hadith 2558

Jabir reported the Prophet as saying when an ass which had been branded on its face passed him. Did it not reach you that I cursed him who branded the animals on their faces or struck them on their faces. So he prohibited it.

حَدَّثَنَا مُحَمَّدُ بْنُ كَثِيرٍ، أَخْبَرَنَا سُفْيَانُ، عَنْ أَبِي الزُّبَيْرِ، عَنْ جَابِرٍ، أَنَّ النَّبِيَّ صلى الله عليه وسلم مُرَّ عَلَيْهِ بِحِمَارٍ قَدْ وُسِمَ فِي وَجْهِهِ فَقَالَ ‏ "‏ أَمَا بَلَغَكُمْ أَنِّي قَدْ لَعَنْتُ مَنْ وَسَمَ الْبَهِيمَةَ فِي وَجْهِهَا أَوْ ضَرَبَهَا فِي وَجْهِهَا ‏" ‏ ‏.‏ فَنَهَى عَنْ ذَلِكَ ‏.‏

sunnah.com

also referenced under: Hadith 2564 (DarusSalam)