It is reported from ‘Abdullâh b. Mas’ûd – Allâh be pleased with him – that he said:

“One should get used to the idea that if everyone on Earth disbelieved, you would not disbelieve. Do not be an im’ah (characterless).” He was asked, “And what is an im’ah?” He replied, “A person who says, ‘I am with the people (I do what they do).’ Verily, there is to be no following examples in evil.”

Ibn Battah, Al-Ibânah Al-Kubrâ Vol.1 p33.