the Mahdī] taking revenge on them to such an extent that...
the Mahdī] taking revenge on them to such an extent that they would wish `Alī had ruled over them instead of him?’ The answer is: The Imāmiyya (Shias) believe in the raj`a and think that when their awaited Imam returns, a group from the highest ranking Umayyads will be resurrected from their graves.
From them, he will cut the hands and feet of a group, take out the eyes of others, and crucify some of them and thus take revenge from the enemies of the family of Muḥammad—both the early ones and the latter ones.” Then, ibn Abī l-Ḥadīd answers what has been questioned about the beliefs of his companions—after explaining that the Mahdī, peace be on him, is from the descendants of Fāṭima and will fill the earth with fairness and justice just as it will be filled with unfairness and injustice.
That he will take revenge on the oppressors and will punish them using the severest of punishments and that he is the sole child of his mother, as has been mentioned in this and other traditions, and that his name is Muḥammad, etc.— by stating that he will appear after most of Islam will be dominated by a person…