Imam Ali Ibn Musa-al- Rida (A.S.) had inherited the divine knowledge from his great grand father, the Holy Prophet of Islam (S.A.W).
Imam Rida(A.S.) was practically like an ever-flowing fountain that quenched the knowledge seekers' thirst for learning. His father Imam Musa Kazim (A.S.) often advised the members of the family to consult with "Ali" (A.S.) about the problems they had in understanding the true concepts of the Islamic doctrines or about other religious issues. The Holy Seventh Imam(A.S.) enjoined the Ahlul Bayt to learn by heart whatever "Ali" (A.S.) recommended.
Imam Rida (A.S.) was known as the wisest of all his contemporaries. His Holiness always succeeded in answering the questions raised by Mamun the ruling caliph with reference to the Quranic verses.
The caliph's official who was on duty to attend and escort the Holy Imam (A.S.) from Medina to Marw narrates the following:
I swear, I could not find any person more abstemious and God-fearing than He was. On our way to Marw throngs of people rushed to welcome His Holiness, and requested him to give answers to their complicated questions in connexion with different aspects of life and the divine creed presented and propagated by the Holy Prophet of Islam (S.A.W.).
The Holy Imam Rida (A.S.) related many traditions attributed to his forefathers. I reported the details of my personal observations to Mamun who in his turn approved of my views about the exalted status of the Holy Imam (A.S.), and confirmed that His Holiness was the best and the wisest and the most virtuous servant of Allah.
In order to explain the details of the divine knowledge bestowed upon the Holy Imam, one needs not quote the views of others in this regard.
A glance at the books on "Hadith" will help us to get acquainted with the rich words and discourses of Imam Rida (A.S.) uttered and delivered on subjects like the principles of Islam, the Islamic ideology, the juristic issues, medicine and, the hygienic problems and many other subjects of research.
Mamun's perspicacity and his judgment of Imam Rida's(A.S.) vast extent of knowledge can be counted as proofs of the Holy Imam's competence in this regard.
Historical records confirm that Mamun, the Abbasid caliph was himself a celebrated erudite and his views were sound here.
In his official charter for the appointment of Imam Rida(A.S.) as his immediate successor Mamun points out the following statement:
"I know not any person superior to this man in the whole world. "