It is narrated about Abu Tawil Shatb al-Mamdud that he came to the Prophet (peace and blessings be upon him) and said: "What is your view about a person who has committed every kind of sin, leaving none of them, and has committed every kind of evil; is there room for repentance for such a person?" The Prophet (peace and blessings be upon him) asked: "Have you accepted Islam?" He said: "As for me, I bear witness that there is no god besides Allah Almighty, He alone is the One God, He has no partner, and that you (peace and blessings be upon him) are indeed the Messenger of Allah." The Prophet (peace and blessings be upon him) said: "Very well; now keep doing good deeds and abandon evil deeds, and Allah Almighty will turn all those evil deeds into good deeds for you." He asked: "My betrayals and my transgressions too (will Allah Almighty change into good deeds)?" The Prophet (peace and blessings be upon him) said: "Yes!" He said: "Allahu akbar (Allah is the Greatest)!" After that he kept saying the takbir until he disappeared (from our sight).
Al-Tabarani recorded it, and al-Bazzar recorded a report similar to it. The narrators of al-Bazzar are the narrators of the Sahih, except for Muhammad bin Harun Abu Nashit, and he is thiqah (trustworthy).
(Allamah al-Haythami says:) I say: The hadith of Sayyiduna Anas (may Allah be pleased with him) about the virtue of La ilaha illallah will come later in the chapter on remembrances (al-Adhkar).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الإيمان / 76
Hadith Gradingمحدثین:إسناده حسن
Hadith Takhrij«اخرجه الامام الطبراني فى معجمه الكبير 7235 ، أخرجه المعجم الكبير للطبراني برقم: 7235»