Abdullah bin Masud reported,

A man asked, "Messenger of Allah, will we be held accountable for what we did during the days of ignorance?"He replied, "If you do well in Islam, you will not be held accountable, but if you do evil in Islam, you will be held accountable for both the former and the latter."

Ahmad 4086

Sahih

حدثنا يحيى عن سفيان حدثنا منصور وسليمان عن أبي وائل

عن عبد الله قال

رجل يا رسول الله أنؤاخذ بما عملنا في الجاهلية قال إن أحسنت لم تؤاخذ وإن أسأت في الإسلام أخذت بالأول والآخر

أحمد 4086صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Masud
Numbering
Darussalam 4086
Ahmad 4086