As for the matter of the Mahdi, he begins his call with complete peace, to the extent that he will be imprisoned and tortured until his family members suffer greatly. He will attempt to be killed by the ruler of Hijaz, but he will escape. Many of his companions will be killed before his pledge of allegiance. Even after his pledge of allegiance, an army will be sent to kill him and his companions who pledged allegiance to him. They will flee to the mountains of Taif. Then, the large army that comes to seek him will be swallowed by the earth after he conquers Mecca. As long as he has become the leader of the Muslims, he must defend the ruling system by force. If an attempt is made to attack him, he will be compelled to fight. Just as he will fight the hypocrites among the Muslims, he will also fight the Romans (America and Europe). Therefore, if the Messenger, peace be upon him, came to a disbelieving people, he would certainly spread Islam by calling them without fighting. If the enemy continued with peace, he would not fight at all. However, he was fought, besieged, and all the wealth of his companions was depleted, so he was compelled to repel the enemy, even by fighting. As for the Mahdi, he will come to a Muslim people, and there will be no need except to establish the proof against them. Whoever believes will have safety and security, and whoever opposes and fights will face punishment.
Why do the Jews and Christians fight us when they know that we are the victors?
Although this is not a doubt about the Mahdi, the question sometimes arises in denial of the texts concerning the tribulations and end times that will come with the Mahdi. They say: If the Jews know that the Muslims will defeat them in those events, and similarly the Romans, and similarly the Antichrist knows that his time is up when the Mahdi emerges, then why are they planning and fighting? The answer here is twofold. The first is that these matters come at a time of contradiction to the texts and disbelief in them, and it is like knowledge of suspicion, not certainty. The second is that the opponent does not believe in it at all, or in detail. He may not believe in the Mahdi at all, or he may believe in him but not believe that his time has come, or that he is not the Mahdi.
And peace, the conclusion.
6 Events among scattered and detailed texts in the books of Hadith and others. Whoever wants more should refer to its source; such as: Fitan Nu'aim, Fitan Al-Dani, 'Aqd Al-Durar, Al-'Irf Al-Wardi, ..., Al-Mahdi and the Approaching Advent.