عَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ اللَّهُمَّ إِنِّي أَتَّخِذُ عِنْدَكَ عَهْدًا لَنْ تُخْلِفَنِيهِ إِنَّمَا أَنَا بَشَرٌ فَأَيُّ الْمُؤْمِنِينَ آذَيْتُهُ أَوْ شَتَمْتُهُ أَوْ جَلَدْتُهُ أَوْ لَعَنْتُهُ فَاجْعَلْهَا لَهُ صَلَاةً وَزَكَاةً وَقُرْبَةً تُقَرِّبُهُ بِهَا يَوْمَ الْقِيَامَةِ
Syedna Abu Huraira (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) said: O Allah! I take a covenant from You, which You will never break. I am only a human being, so if I cause harm to any believer, or abuse him, or flog him, or curse him, then make that thing for him a means of mercy, purity, and nearness, through which You bring him close to Yourself on the Day of Resurrection.