Iqmal ud Din:
Narrated from Muhammad Ibn Sinan, Amir Ibn Shamir, Jabir and Abu Jaffir:
"THE KNOWLEDGE OF ALMIGHTY ALLAH’S BOOK AND THE SUNNAH OF HIS MESSENGER (SAAS) GROW AND FLOURISH LIKE A PLANT IN OUR MAHDI’S HEART.” (Kitab al-Ghaybat, [Bihar al-Anwar, Vol. 51], Ansariyan Publications, collected by: Muhammad Baqr al-Majlis, Iran-Qum, 2003, p. 72)
It appears from our Prophet’s (saas) hadith that Hazrat Mahdi (as) will understand and explain the Qur’an and the hadiths very well.