It is narrated from Sayyiduna Anas (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) saw a donkey that had been branded (with fire) on its face, and he (peace and blessings be upon him) said: "May Allah Almighty curse the one who did this."
Muhammad bin Abdullah al-Hadrami (may Allah have mercy on him) narrated it likewise from Ibrahim bin al-Hajjaj (may Allah have mercy on him).
Related hadith on this topic