Imam Muhammad al-Baqir (a.s), like the other Imams, in knowledge and science had no equal. Great learned men benefited from his knowledge and science and used to ask him to solve their problems.
Imam Muhammad al-Baqir (a.s) instructed people in percepts of religion, taught them the ethics of life, and used to strive very hard to educate, culture and guide the people. During the course of his life, he taught the people thousands of theological and religious principles, as well as scientific subjects, and his teachings have been handled down to us. His wisdom and learning was so much that he was called Baqir ul-ulum, which means "the opener of sciences".
Imam Muhammad al-Baqir (a.s), lived in this world for a period of 57 years, and in the 114th year of the Hijra, on the seventh day of the month of Zul-Hijjah, in Medina he left this world. His body was buried in Baqi cemetry alongside the graves of Imam Hassan and Imam Sajjad (a.s) in Medina.