As for such, He hath written faith upon their hearts.
As for such, He hath written faith upon their hearts. . .” (Qur'an 58:22) . And He says, Exalted is He: “He among you who taketh them for friends is (one) of them. Lo! Allah guideth not wrong-doing folk” (Qur'an 5:51). And the Mighty and Glorious says: “And incline not toward those who do wrong lest the Fire touch you” (Qur'an 11:113) . (The literal meaning of) zulm is the placing of a thing at a place which is not its own.
So he who claims the Imamah, not being an Imam, is an accursed wrongdoer (zalim). And he who ascribes Imamah to those who are not entitled to it, he too is an accursed wrong-doer.[^3] And the Prophet said: He, who denies 'Ali his Imamah after me, verily denies my apostleship (nubuwwa). And he who denies my apostleship has denied Allah His divinity.
And the Prophet, on whom be the blessings and mercy of Allah, said: O 'Ali, you will be the wronged one (mazlum) after me; and he who wrongs you has verily wronged me; and he who acts justly towards you has verily acted justly towards me; and he who denies your (claims) has verily denied mine; and he who befriends you has verily befriended me; and he who treats you as an enemy has verily treated me as an enemy[^4] and he who obeys you has verily obeyed me; and he who disobeys you has verily disobeyed me.[^5] And our belief concerning him, who denies the Imamah to the Prince of Believers 'Ali bin Abi Talib, on whom be peace, and the Imams after him, is that he is the like of him who denies the apostleship of all the prophets, on whom be peace.[^6] And our belief concerning him, who believes in (the Imamah of) the Prince of Believers and denies a single one of the Imams after him, is that he is in the same position as one who accepts all the prophets but denies the apostleship of our .
And Imam Ja'far as-Sadiq said: He who denies the least among us is like him who denies (the claims of) the first among us. And the Prophet said: The Imams after me are twelve, the first of them is the Prince of Believers 'Ali bin Abi Talib, and the last of them is the Mahdi (rightly-guided), the Qa'im (the upholder of the true religion); obedience to them is obedience to me and disobedience to them is disobedience to me; and he who denies one of them has verily denied me.
And Imam Ja'far as-Sadiq said: He who doubts in the infidelity (kufr) of our enemies who have wronged us is himself an infidel (kafir). And the Prince of Believers said: Ever since I was born I have always been wronged.