Imam Ali (as) is regarded by the Shia as an Imam, but most people do not know what an Imam is. The Prophet Muhammad (sas) said: "The likeness of Ali to me is that of Aaron to Moses, except that there will be no prophet after me." According to the teachings of the Prophet Muhammad (sas), Imam Ali of course did not receive revelation. However, he had all other qualities of infallibility. Interestingly enough, he was worshipped by some ignorant people at that time. They witnessed him performing miricles as prophets do, due to their lack of faith, they worshipped him. There are many cases, like the battle of Khaduk, Khaibar, and many others where these situations showed their colors, according to both Shia and Sunni sources, where Imam Ali performed superhuman tasks. The quote of the Prophet Muhammad (sas) suffices: "The triumph of Ali on the day of Khanduk, is greater than the worship of all of humanity and the jinns until the day of judgement."