Hadith 11
Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said:
أَذْنَبَ عَبْدٌ ذَنْبًا فَقَالَ اللَّهُمَّ اغْفِرْ لِي ذَنْبِي فَقَالَ تَبَارَكَ وَتَعَالَى أَذْنَبَ عَبْدِي ذَنْبًا فَعَلِمَ أَنَّ لَهُ رَبًّا يَغْفِرُ الذَّنْبَ وَيَأْخُذُ بِالذَّنْبِ ثُمَّ عَادَ فَأَذْنَبَ فَقَالَ أَيْ رَبِّ اغْفِرْ لِي ذَنْبِي فَقَالَ تَبَارَكَ وَتَعَالَى عَبْدِي أَذْنَبَ ذَنْبًا فَعَلِمَ أَنَّ لَهُ رَبًّا يَغْفِرُ الذَّنْبَ وَيَأْخُذُ بِالذَّنْبِ ثُمَّ عَادَ فَأَذْنَبَ فَقَالَ أَيْ رَبِّ اغْفِرْ لِي ذَنْبِي فَقَالَ تَبَارَكَ وَتَعَالَى أَذْنَبَ عَبْدِي ذَنْبًا فَعَلِمَ أَنَّ لَهُ رَبًّا يَغْفِرُ الذَّنْبَ وَيَأْخُذُ بِالذَّنْبِ اعْمَلْ مَا شِئْتَ فَقَدْ غَفَرْتُ لَكَ
A servant committed a sin and he said: O Allah, forgive my sin! Allah Almighty said: My servant has committed a sin and he knows he has a Lord who forgives sins and holds him accountable. Then the servant returned to his sin and he said: O Allah, forgive my sin! Allah said: My servant has committed a sin and he knows he has a Lord who forgives sins and holds him accountable. Then the servant returned to his sin and he said: O Allah, forgive my sin! Allah said: My servant has committed a sin and he knows he has a Lord who forgives sins and holds him accountable, so do what you will for I have forgiven you.
Source: Ṣaḥīḥ al-Bukhārī 7507, Grade: Muttafaqun Alayhi