Abu Tawil reported: He came to the Messenger of Allah, peace and blessings be upon him, and he said, “What do you think of a man who commits every sin, leaving nothing of them. Is there repentance for him?” The Prophet said, “Have you embraced Islam?” He said, “As for me, I testify there is no God but Allah, along without any partners, and that you are the Messenger of Allah.” The Prophet said, “Yes, perform good deeds and leave evil deeds, then Allah will turn all of them into good deeds for you.” He said, “And my treachery and wickedness?” The Prophet said, “Yes.” He said, “Allah is the greatest!” He continued exalting Allah until he disappeared from view.
Source: al-Mu’jam al-Kabīr 7235
Grade: Sahih (authentic) according to Al-Albani
عَنْ أَبِي طَوِيلٍ شَطَبٍ الْمَمْدُودِ أَنَّهُ أَتَى رَسُولَ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ فَقَالَ أَرَأَيْتَ رَجُلًا عَمِلَ الذُّنُوبَ كُلَّهَا فَلَمْ يَتْرُكْ مِنْهَا شَيْئًا فَهَلْ لَهُ مِنْ تَوْبَةٍ قَالَ فَهَلْ أَسْلَمْتَ قَالَ أَمَّا أَنَا فَأَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللهُ وَحْدَهُ لَا شَرِيكَ لَهُ وَأَنَّكَ رَسُولُ اللهِ قَالَ نَعَمْ تَفْعَلُ الْخَيْرَاتِ وَتَتْرُكُ السَّيِّئَاتِ فَيَجْعَلُهُنَّ اللهُ لَكَ خَيْرَاتٍ كُلَّهُنَّ قَالَ وَغَدَرَاتِي وَفَجَرَاتِي قَالَ نَعَمْ قَالَ اللهُ أَكْبَرُ فَمَا زَالَ يُكَبِّرُ حَتَّى تَوَارَى
7235 المعجم الكبير للطبراني
3164 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح الترغيب