It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that a man asked: O Messenger of Allah (peace and blessings be upon him)! Will we be taken to account even for the deeds we did in the time of Ignorance (Jahiliyyah)? He (peace and blessings be upon him) said: "Whoever adopts good conduct after accepting Islam will not be taken to account for what he did in the time of Ignorance, and whoever does evil in Islam (even after entering it) will be seized for both the earlier and the later (deeds of both periods)."
Hadith Referenceمسند أبي يعلى الموصلي / مسند عبد الله بن مسعود / 5071
Hadith Gradingمحدثین:عبد الغفار لم أجد فيه لا جرحا ولا تعديلا وباقي رجاله ثقات
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: عبد الغفار لم أجد فيه لا جرحا ولا تعديلا وباقي رجاله ثقات . » «قال سعيد بن محمد السناري: صحيح» «أخرجه صحيح البخاري برقم: 6523، وأخرجه صحيح مسلم برقم: 120، وأخرجه سنن ابن ماجه برقم: 4242، وأخرجه مسند أحمد برقم: 3585، 3876، 4075، 4092، 4394، وأخرجه سنن الدارمي برقم: 1، وأخرجه مسند البزار برقم: 1664، وأخرجه مصنف عبد الرزاق برقم: 19686، وأخرجه صحيح ابن حبان برقم: 396، مسند ابویعلیٰ ترقیم الاثری: 5049»