‘Uqbah ibn ‘Amir reported: A man came to the Messenger of Allah, peace and blessings be upon him, and he said, “O Messenger of Allah, one of us has committed a sin.” The Prophet said, “It will be written against him.” The man said, “Then he has sought forgiveness and repented.” The Prophet said, “He will be forgiven and his repentance accepted.” The man said, “Then he returns to committing a sin.” The Prophet said, “It will be written against him.” The man said, “Then he has sought forgiveness and repented.” The Prophet said, “He will be forgiven and his repentance accepted. Allah will not tire of forgiveness unless you are tired of asking.”
Source: al-Mu’jam al-Awsaṭ 8918
Grade: Sahih (authentic) according to Ibn Hajar
عَنْ عُقْبَةَ بْنِ عَامِرٍ أَنَّ رَجُلا أَتَى رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَقَالَ يَا رَسُولَ اللَّهِ أَحَدُنَا يُذْنِبُ قَالَ يُكْتَبُ عَلَيْهِ قَالَ ثُمَّ يَسْتَغْفِرُ مِنْهُ وَيَتُوبُ قَالَ يُغْفَرُ لَهُ وَيُتَابُ عَلَيْهِ قَالَ فَيَعُودُ فَيُذْنِبُ قَالَ يُكْتَبُ عَلَيْهِ قَالَ ثُمَّ يَسْتَغْفِرُ مِنْهُ وَيَتُوبُ قَالَ يُغْفَرُ لَهُ وَيُتَابُ عَلَيْهِ وَلا يَمَلُّ اللَّهُ حَتَّى تَمَلُّوا
8918 المعجم الأوسط للطبراني باب الميم من اسمه مطلب
164 المحدث ابن حجر العسقلاني خلاصة حكم المحدث حسن صحيح في الأمالي المطلقة