It is narrated from Hazrat Abu Hurairah (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: I am also a human being; just as other people become angry, I also become angry. (O Allah) If I have caused any harm to anyone (unknowingly) or struck someone with a whip, make it a means of purification and mercy for that person.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 7311