Hadith 1540
Abu Hurairah (May Allah be pleased with him) said:
وعن أبي هريرة رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم : “تجدون الناس معادن: خيارهم في الجاهلية خيارهم في الإسلام إذا فقهوا، وتجدون خيار الناس في هذا الشأن أشدهم له كراهية، وتجدون شر الناس ذا الوجهين، الذي يأتي هؤلاء بوجه، وهؤلاء بوجه" ((متفق عليه)).
The Messenger of Allah (ﷺ) said, "People are like ores. Those who were excellent in the Days of Ignorance are excellent in Islam provided they acquire the knowledge and understanding of the religion. You will find the best people in it (Islam) those who had a deep hatred (for leadership). You will find the worst among the people a double-faced person who appears to some people with one face and to others with another face." [Al-Bukhari and Muslim].
In plain words
People are like ores, the best of them in ignorance remaining best in Islam with understanding, while the worst is the two-faced person who shows each group a different face. A divided face reveals a divided heart.
Reference : Riyad as-Salihin 1540 In-book reference : Book 17, Hadith 30