The Book of the Prohibited actions
Riyad as-Salihin #929
كتاب الأمور المنهي عنها
وعنه أن النبي صلى الله عليه وسلم: مر عليه حمار قد وُسم في وجهه، فقال: «لعن الله الذي وسمه» ((رواه مسلم. وفي رواية لمسلم أيضًا: نهى رسول الله صلى الله عليه وسلم عن الضرب في الوجه، وعن الوسم في الوجه)).
Ibn 'Abbas (May Allah be pleased with them) said:
An ass with a brand on the face happened to pass before the Prophet (ﷺ). Thereupon he said, “May Allah curse the one who has branded it (on the face).”.Another narration in Muslim is: “The Messenger of Allah (ﷺ) prohibited us from hitting across the face and branding on the face (of an animal).”
وعنه أن النبي صلى الله عليه وسلم : مر عليه حمار قد وُسم في وجهه، فقال: "لعن الله الذي وسمه" ((رواه مسلم. وفي رواية لمسلم أيضًا: نهى رسول الله صلى الله عليه وسلم عن الضرب في الوجه، وعن الوسم في الوجه)).
An ass with a brand on the face happened to pass before the Prophet (ﷺ). Thereupon he said, "May Allah curse the one who has branded it (on the face).".Another narration in Muslim is: "The Messenger of Allah (ﷺ) prohibited us from hitting across the face and branding on the face (of an animal)."
— Riyad as-Salihin, Hadith 929