عَنْ أَبي هُرَيْرَةَ
رَضِيَ اللهُ عَنْهُ، عَنِ النَّبَيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ، فِيما يَحْكِي عَنْ رَبِّهِ عَزَّ وَجَلَّ، قَالَ: أَذْنَبَ عَبْدٌ ذَنْبًا، فَقَالَ: اللَّهُمَّ اغْفِرْ لِي ذَنْبي.
فَقَالَ تَبَارَكَ وَتَعَالى: أَذْنَبَ عَبْدِي ذَنْبًا، فَعَلِمَ أنَّ لَهُ رَبّاً، يَغْفِرُ الذَّنْبَ، وَيَأْخُذُ بِهِ. ثُمَّ عَادَ فَأَذْنَبَ، فَقَالَ: أَيّ رَبِّ، اغْفِرْ لِي ذَنْبِِي، فَقَالَ تَبَارَكَ وتَعَالى: عَبْدِي أَذْنَبَ ذَنْباً. فَعَلِمَ أَنَّ لَهُ رَبّاً يَغْفِرُ الذَّنْبَ، ويَأْخُذُ بِهِ.
ثُمَّ عَادَ فَأَذْنَبَ، فَقَالَ: أَيّ رَبِّ، اغْفِرْ لِي ذَنْبِي: فَقَالَ تَبَارَكَ وَتَعَالَى: أَذْنَبَ عَبْدِي ذَنْباً، فَعَلِمَ أَنَّ لَهُ رَبّاً، يَغْفِرُ الذَّنْبَ، ويَأْخُذُ بالذَّنْبِ. اعْمَلْ مَا شِئْتَ، فَقَدْ غَفَرْتُ لَكَ
The Prophet (sallallahu alayhi wa sallam), from among the things he reports from his Lord (mighty and sublime be He), is that he said: A servant [of Allah’s] committed a sin and said: O Allah, forgive me my sin.
And He (glorified and exalted be He) said: My servant has committed a sin and has known that he has a Lord who forgives sins and punishes for them. Then he sinned again and said: O Lord, forgive me my sin.
And He (glorified and exalted be He) said: My servant has committed a sin and has known that he has a Lord who forgives sins and punishes for them. Then he sinned again and said: O Lord, forgive me my sin.
And He (glorified and exalted be He) said: My servant has committed a sin and has known that he has a Lord who forgives sins and punishes for sins. Do what you wish, for I have forgiven you. It was related by Muslim (also by al-Bukhari).