Sayyiduna Anas (may Allah be pleased with him) narrates that the Prophet (peace and blessings be upon him) said: "O so-and-so, have you done such-and-such?" He replied: "No! By the One besides whom there is no deity, I did not do it." The Prophet (peace and blessings be upon him) knew that he had done it, and he (peace and blessings be upon him) repeated this to him several times. Then the Prophet (peace and blessings be upon him) said: "This sin of yours has been forgiven because of your affirming 'La ilaha illallah' (There is no deity except Allah)."
Bazzar recorded it, and Abu Ya'la recorded something similar, except that he recorded these words: "Allah Almighty has removed your lie from you (that is, forgiven it) because of your affirming 'La ilaha illallah'." The narrators of both narrations are the narrators of the Sahih.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الأذكار / 16812
Hadith Gradingمحدثین:إسنادہ صحیح
Hadith Takhrij«اخرجه البزار فى المسند (3068) ، أخرجه البحر الزخار المعروف بمسند البزار 10 - 18 برقم: 6903، وأخرجه إتحاف الخيرة المهرة بزوائد المسانيد العشرة برقم: 4830/1، 6103/1»