صحيح مسلم Sahih Muslim كتاب الإيمان The Book of Faith
باب هَلْ يُؤَاخَذُ بِأَعْمَالِ الْجَاهِلِيَّةِ:

Chapter: Will a person be punished for his actions during the Jahlilliyyah?

3 hadith
Hadith 120
حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ ، حَدَّثَنَا جَرِيرٌ ، عَنْ مَنْصُورٍ ، عَنْ أَبِي وَائِلٍ ، عَنْ عَبْدِ اللَّهِ ، قَالَ : قَالَ أُنَاسٌ لِرَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : يَا رَسُولَ اللَّهِ ، أَنُؤَاخَذُ بِمَا عَمِلْنَا فِي الْجَاهِلِيَّةِ ؟ قَالَ : " أَمَّا مَنْ أَحْسَنَ مِنْكُمْ فِي الإِسْلَامِ ، فَلَا يُؤَاخَذُ بِهَا ، وَمَنْ أَسَاءَ ، أُخِذَ بِعَمَلِهِ فِي الْجَاهِلِيَّةِ وَالإِسْلَامِ " .
It is narrated on the authority of 'Abdullah bin Mas'ud that some people said to the Messenger of Allah (ﷺ) : Messenger of Allah, would we be held responsible for our deeds committed in the state of ignorance (before embracing Islam)? Upon his he (the Holy Prophet) remarked: He who amongst you performed good deeds in Islam, He would not be held responsible for them (misdeeds which he committed in ignorance) and he who committed evil (even after embracing Islam) would be held responsible or his misdeeds that he committed in the state of ignorance as well as in that of Islam.
Hadith Reference Sahih Muslim / The Book of Faith / Hadith: 120
Hadith Grading محدثین: أحاديث صحيح مسلم كلها صحيحة
Hadith Takhrij «أحاديث صحيح مسلم كلها صحيحة ، البخاري في ((صحيحه)) في استتبابة المرتدين، باب: اثم من اشرك بالله وعقوبته في الدنيا والآخرة برقم (6523) انظر ((التحفة)) برقم (9303)»
Hadith 120
حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللَّهِ بْنِ نُمَيْرٍ ، حَدَّثَنَا أَبِي وَوَكِيعٌ . ح وحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ وَاللَّفْظُ لَهُ ، حَدَّثَنَا وَكِيعٌ ، عَنِ الأَعْمَشِ ، عَنْ أَبِي وَائِلٍ ، عَنْ عَبْدِ اللَّهِ ، قَالَ : قُلْنَا : يَا رَسُولَ اللَّهِ ، أَنُؤَاخَذُ بِمَا عَمِلْنَا فِي الْجَاهِلِيَّةِ ؟ قَالَ : " مَنْ أَحْسَنَ فِي الإِسْلَامِ ، لَمْ يُؤَاخَذْ بِمَا عَمِلَ فِي الْجَاهِلِيَّةِ ، وَمَنْ أَسَاءَ فِي الإِسْلَامِ ، أُخِذَ بِالأَوَّلِ وَالآخِرِ " .
It is narrated on the authority of 'Abdullah bin Mas'ud: We once said: Messenger of Allah, would we be held responsible for our deeds committed in the state of ignorance? He (the Holy Prophet) observed: He who did good deeds in Islam would not be held responsible for what he did in the state of ignorance, but he who committed evil (after having come within the fold of Islam) would be held responsible for his previous and later deeds.
Hadith Reference Sahih Muslim / The Book of Faith / Hadith: 120
Hadith Grading محدثین: أحاديث صحيح مسلم كلها صحيحة
Hadith Takhrij «أحاديث صحيح مسلم كلها صحيحة ، أخرجه البخاري في ((صحيحه)) في استتابة المرتدين، باب: اثم من اشرك بالله، وعقوبته في الدنيا والآخرة - برقم (6523) وابن ماجه في ((سننه)) في الزهد، باب: ذكر الذنوب برقم (4242) انظر ((التحفة)) برقم (9258)»
Hadith 120
حَدَّثَنَا مِنْجَابُ بْنُ الْحَارِثِ التَّمِيمِيُّ ، أَخْبَرَنَا عَلِيُّ بْنُ مُسْهِرٍ ، عَنِ الأَعْمَشِ ، بِهَذَا الإِسْنَادِ مِثْلَهُ .
This hadith has been transmitted by Minjab bin al-Harith Tamimi with the same chain of transmitters.
Hadith Reference Sahih Muslim / The Book of Faith / Hadith: 120
Hadith Grading محدثین: أحاديث صحيح مسلم كلها صحيحة
Hadith Takhrij «أحاديث صحيح مسلم كلها صحيحة ، تقدم تخريجه بمثل الحديث السابق برقم (315)»