Allah’s power is absolute and He is able to do everything that is intellectually possible. The Quran is replete with examples in which Allah presented His wonderful power. In the Quran there are some instances that the passing of time did not cause any physical change in the body of some people.
One of these examples is Ezra the Prophet. He passed by a town riding on his donkey and the town was totally dilapidated. He said by himself that how Allah would ever bring the dead people of the town back to life. When he made this statement in his mind, Allah caused him to die and he remained dead for 100 years. Then Allah brought him back to life and asked him how long he had stayed there. Ezra who did not know what happened to him assumed that he was asleep for one day or lesser. But Allah told him that he had remained there for one hundred year.
Here Ezra after one century did not felt any sings of oldness in his body. Moreover, Allah told him, to look at his food and drink and Ezra witnessed that they remained intact and were not rotten. But his donkey was totally decomposed. Then Allah revived the donkey in front of his eyes to show him how He would resurrect people in the Day of Judgment.[1]
Here Allah by his power remained Ezra and his food and drink safe for one century. So if He wills He can do the same to His Agent Imam Mahdi.
The second example is about the People of the Cave who slept in the cave for three hundred and nine years. But when they woke up they supposed that they just had taken a nap or slept for a day or part of a day. However, their body was just the same as before they went to sleep so they did not realize the passing of that long time.[2]
In philosophy, they say that the best reason for the possibility of an event is that it takes place. When something occurs it shows that it was not intellectually impossible to happen. Likewise, when we see that sometimes some of the natural laws of nature would no longer be efficacious, we realize that there is a supernatural power above them that is able to put them aside and this is the power of Allah.