Apostasy and Blasphemy
After Prophet Idris died, Iblis appeared to the people in the shape of a man. He whispered to them to build five statues of five pious men who had died so that they would always remember them. Some people made the statues of those five pious men.
After a long period of time, Iblis whispered to them to blaspheme and worship these statues. Some of the people followed him.
Apostasy and Blasphemy
Sometime after the death of Idr is, ignorance spread among the people.
There was no Prophet among the people at that time. Iblis appeared to the people and told them: "Worship those five statues." The people worshipped5 those statues and as a result, became blasphemers.
وَقَالُوا لا تَذَرُنَّ ءالِهَتَكُمْ وَلا تَذَرُنَّ وَدًّا وَلا سُوَاعًا وَلا يَغُوثَ وَيَعُوقَ وَنَسْرًا
Ayah 23 of Surat Nuh states the names of the five pious Muslims the people made statues of and worshipped. The names of those five pious Muslims were: Wadd, Suwa^, Yaghuth, Ya^uq, and Nasr.