In The Name Of Allah, The Most Beneficent, The Most Merciful
Numerous ayats of the Holy Quran mention about the Ghaibat of previous Prophets (a.s.) as well as Imam-e-Zamana (a.s.).
Holy Quran itself says:
وَعِندَهُ مَفَاتِحُ الْغَيْبِ لَا يَعْلَمُهَا إِلَّا هُوَ ۚ وَيَعْلَمُ مَا فِي الْبَرِّ وَالْبَحْرِ ۚ وَمَا تَسْقُطُ مِن وَرَقَةٍ إِلَّا يَعْلَمُهَا وَلَا حَبَّةٍ فِي ظُلُمَاتِ الْأَرْضِ وَلَا رَطْبٍ وَلَا يَابِسٍ إِلَّا فِي كِتَابٍ مُّبِينٍ
And with Him are the keys of the unseen treasures — none knows them but He; and He knows what is in the land and the sea, and there falls not a leaf but He knows it, nor a grain in the darkness of the earth, nor anything green nor dry but (it is all) in a clear book.
But to understand everything about Quran, Allah has sent Prophets (a.s.).
وَأَنزَلْنَا إِلَيْكَ الذِّكْرَ لِتُبَيِّنَ لِلنَّاسِ مَا نُزِّلَ إِلَيْهِمْ
“We revealed to you the Book so that you may explain to them what has been revealed.”
(Surah Nahl: 44)
About 200 ayats of Quran are connected to the topic of Mahdaviyat. Here we will discuss five ayats.
الم ﴿١﴾ ذَٰلِكَ الْكِتَابُ لَا رَيْبَ ۛ فِيهِ ۛ هُدًى لِّلْمُتَّقِينَ ﴿٢﴾ الَّذِينَ يُؤْمِنُونَ بِالْغَيْبِ وَيُقِيمُونَ الصَّلَاةَ وَمِمَّا رَزَقْنَاهُمْ يُنفِقُونَ
“This book, there is no doubt in it is a guide to those who guard against evil. Those who believe in the ghaib and keep up prayer and spend out what we have given them.”
Under this ayat, Yahya bin Abil Qasim narrates from Imam Jafar Sadiq (a.s.). Imam (a.s.) says, “Muttaqee’ implies the shia of Ameerul Momeneen Ali ibn Abi Taleb (a.s.) and ‘Ghaib’ implies to Imam Zamana (i.e. Imam Zamana will be in Ghaibat). And then he (a.s.) quoted another ayat, ‘And they say: Why is not a sign sent to him from his Lord? Say: The unseen is only for Allah therefore wait; surely I too with you am of those who wait. (Yunus: 20)
(Kamaluddin, 1/18, Yanabial Mawwadda 508)