Also, it is narrated that Imam Baqir (a.
(Surah Qasas 28:41-42) Ali Ibne Ibrahim, Kulaini, Saffar, Ibne Mahyar and others with many chains of narrators have narrated from Imam Sadiq and Baqir (a.s.) that there are two types of Imams according to the book of Allah, because Allah has said: And we made of them Imams to guide by our command... (Surah Sajdah 32:24) That is they guide people according to Allah’s command and not according the wish and will of the people and they give preference to the commands of Allah rather than their own.
At another place He says: And we made them Imams who call to the fire… It means the leaders of disbelief and deviation who prefer their own opinion to that of Allah and give judgements according to their whims and fancies against the orders of Allah. In Basairud Darajat there is a tradition from Imam Sadiq (a.s.) that the world was never devoid of a good Imam and a bad Imam.
The good character Imam is the one who is mentioned in the first verse and the bad character Imam is one who is mentioned in the second verse. In another tradition he says: Only a just Imam reforms the people and not an unjust Imam.