Riyad as-SalihinChapter 17Hadith 929
Full Sharh — Riyad as-Salihin 929
وعنه أن النبي صلى الله عليه وسلم : مر عليه حمار قد وُسم في وجهه، فقال: "لعن الله الذي وسمه" ((رواه مسلم. وفي رواية لمسلم أيضًا: نهى رسول الله صلى الله عليه وسلم عن الضرب في الوجه، وعن الوسم في الوجه)).
English Translation
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)."
Source
Riyad as-Salihin(رياض الصالحين)
The Book of the Prohibited actions
Hadith Number
929