On the other hand...
On the other hand, the Imam is merely a protector of the law who does not receive the injunctions and the laws through revelation. Moreover, it is possible that the Prophet has informed the Imams about the actual time of the Mahdi's appearance, through his provision of some indications about the signs of appearance that shall occur at the time. The Imam of the Age is also awaiting the fulfillment of these signs.
For instance, in the following tradition the Prophet is reported to have predicted the emergence of the Mahdi.
He said: When the time of the zuhur arrives, God will bring the sword and the standard of the Mahdi to a sound calling out: 'O God's friend, rise and kill the enemy of God![^4]' One piece of probable documentation that is provided in the hadith is the tradition that describes God's sealed instructions given for each Imam about their role by means of a revelation to the Prophet who handed that scroll to 'Ali b. Abi Talib.
When 'Ali assumed the caliphate he opened the scroll and read the instructions for him and followed them during his public mission. Similarly, each Imam following him did the same thing during their period of Imamate. At present the sealed scroll with the instructions for the twelfth Imam is with him[^5].
The Preparation for the Emergence Will Take Place Overnight There are many traditions from the Imams that describe the events in the last days before the rise of the Mahdi which will actually prepare the way for his revolution and its ultimate success. Moreover, these events will occur overnight, advancing his plans and ushering in the final advent.
For instance, in a tradition reported by 'Abd al-'Azim Hasani, he cites Imam Jawad saying: 'Our Qa'im is that Mahdi who should be awaited during his occultation and should be obeyed when he appears. He will be my third descendant.
I solemnly declare by swearing upon God who selected Muhammad to be His Prophet and favored us with the Imamate that if there remains only one day in the life of this world, God will prolong it so much that the Mahdi will appear and fill the earth with justice and equity as it is filled with tyranny and wickedness.