The Messenger of Allah ﷺ said, "People are like ores. The best of them in the days of ignorance are the best of them in Islam, provided they gain understanding of the religion."
حدثنا يزيد قال وأخبرنا محمد عن أبي سلمة
قال رسول الله ﷺ الناس معادن فخيارهم في الجاهلية خيارهم في الإسلام إذا فقهوا