Sahih Muslim | Book 1 | Chapter 54

Narrated by Abdullah b. Mas'ud
It is narrated on the authority of Abdullah b. Mas'ud that some people said to the Messenger of Allah (may peace be upon him): 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.

Narrated by Abdullah b. Mas'ud
It is narrated on the authority of Abdullah b. 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.

Narrated by
This hadith has been transmitted by Minjab b. al-Harith Tamimi with the same chain of transmitters.