The decisive word regarding the issue of Imam Al-Mahdi.
The Second Chapter: "But they did not differ except after knowledge came to them, out of envy among themselves. And whoever disbelieves in the signs of Allah, then indeed, Allah is swift in account." (Quran 3:19)
Ahmad ibn Hanbal, in his book "Al-Musnad," narrated that the Prophet Muhammad (peace be upon him) used to dictate to the scribe, and if he made a mistake, he would correct him. He said that Ibn Sarh narrated about the Prophet (peace be upon him): "If I wish, I can write whatever I want. He said to me: 'Write this or that.' He would say: 'Yes.'" This is because Ibn Umm Maktoom used to say: "O Messenger of Allah, I am blind." So he would say to him: "Write 'Aziz Hakim.'" (Quran 42:1) And the narration is: "The blind man." (Quran 80:1)
Ibn Taymiyyah, in his book "Al-Musnad," also narrated many hadiths and authenticated many of them. For example, Ibn Taymiyyah narrated the case of the Prophet (peace be upon him) dictating to a scribe, writing any phrase that he would then recite the verse for. He said: 1. Or it was an explanation if he had already revealed it. 2. Or a trusted person who memorized it from him, and he would write what was revealed. 3. Or the scribe was inferring the rest from what the Prophet recited to him, as the scribes of the "Fitnah" (trials) used to do. He would write and then read it to the Prophet (peace be upon him), saying, "This is how it was revealed." This happened with the verse: "Blessed is Allah, the best of creators." (Quran 23:14) Then Ibn Abi Sarh doubted and said: "If he is truthful, then Allah has revealed to him what He has revealed. And if he is a liar, then he has said what he has said." Then this verse was revealed: "And who is more unjust than one who invents a lie against Allah or denies His signs? Indeed, the wrongdoers will not succeed." (Quran 6:144)