Sayyiduna Abu Hurairah (may Allah be pleased with him) narrates from the Prophet (peace and blessings be upon him) regarding his Lord’s statement: “My servant commits a sin, then he says: O my Lord! I have committed a sin. So Allah Almighty says: My servant has committed a sin and he knows that Allah can forgive sins and can also hold accountable for sins. Then that servant commits a sin again and says: O my Lord! I have committed a sin. So Allah Almighty says: My servant has committed a sin and he knows that Allah can forgive sins and can also hold accountable for sins. (O My servant!) Do whatever you wish, I have forgiven you.” (Imam Ibn Hibban, may Allah have mercy on him, says:) The words of the Prophet (peace and blessings be upon him): “Do whatever you wish.” These are words of warning, behind which is a promise. And by the Prophet’s (peace and blessings be upon him) statement: “Do whatever you wish,” what is meant is: Do not disobey. And by the Prophet’s (peace and blessings be upon him) words: “I have forgiven you,” what is meant is, when you repent.
Hadith Referenceصحیح ابن حبان / كتاب الرقائق / 625
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - تقدم (621). تنبيه!! رقم (621) = (622) من «طبعة المؤسسة». - مدخل بيانات الشاملة -.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط مسلم، رجاله ثقات رجال الشيخين غير حماد بن سلمة، فمن رجال مسلم.