Abu Hurairah reported,

The Messenger of Allah ﷺ said, narrating from his Lord, "A servant of mine committed a sin and said, 'My Lord, forgive me my sin.' Allah تبارك وتعالى said, 'My servant has committed a sin and has come to know that he has a Lord who forgives sins and holds accountable for them.'" This was repeated three times, then he said, "Allah says, 'Do as you wish, I have forgiven you.'"

Ahmad 10379

Sahih

حدثنا بهز قال حدثنا حماد قال حدثنا إسحاق بن عبد الله بن أبي طلحة عن عبد الرحمن بن أبي عمرة

عن أبي هريرة قال

قال رسول الله ﷺ يحكي عن ربه أذنب عبدي ذنبا فقال يا رب اغفر لي ذنبي فقال تبارك وتعالى أذنب عبدي ذنبا فعلم أن له ربا يغفر الذنب ويأخذ بالذنب ثلاث مرار قال فيقول اعمل ما شئت قد غفرت لك

أحمد 10379صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Hurairah
Numbering
Darussalam 10379
Ahmad 10379