Abu Huraira (may Allah be pleased with him) narrates that the Prophet Muhammad (peace and blessings be upon him) said: "O Allah! I have made a covenant with You, which You will not break, that I am a human being—so if I cause harm to any believer, or speak harshly to him, or strike him, or curse him, then make that a means of mercy, purification, and nearness for him, through which he may attain Your closeness on the Day of Resurrection."
Hadith Referenceصحیح ابن حبان / كتاب التاريخ / 6516
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «الصحيحة» (3999): م.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط الشيخين