It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: People are like mines of gold and silver; those who were the best in the pre-Islamic period of ignorance are the best in Islam as well, provided they gain understanding of the religion.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 14945
Hadith Gradingحکم دارالسلام:إسناده صحيح، وقد صرح أبو الزبير بالسماع فيما يأتي برقم: 15112، وله شاهد من حديث أبى هريرة فى الصحيحين ، سلف برقم: 7496