It is narrated from Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both): "The Messenger of Allah (peace and blessings be upon him) passed by a donkey that had been branded on its face (with hot iron), and smoke was coming from its nostrils, and he (peace and blessings be upon him) said: 'May Allah curse the one who did this!' Or he (peace and blessings be upon him) said: 'Have I not cursed the one who did this? Let no one ever brand the face.' And the narrator said: To my knowledge he (peace and blessings be upon him) also said: 'And let no one ever strike the face.'" Imam Abu Ya'la al-Mawsili also mentioned this narration through his own chain, and Imam Ibn Hibban recorded it in his Sahih with these words: "A donkey that had been branded on its face passed by the Messenger of Allah (peace and blessings be upon him), with blood gushing from its nostrils, and the Messenger of Allah (peace and blessings be upon him) said: 'May Allah curse the one who did this!' Then he (peace and blessings be upon him) forbade branding on the face and striking on the face." Imam Ibn Hibban also recorded it with other chains through Abu Arubah and Ahmad bin Ali bin al-Muthanna al-Mawsili.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب الأدب وغيره / 5500