 Travelling in karbala, Muhammad participated in the courses of Hasan ibn Sayyed Muhammad Mujahid.He Also learned knowledges of fiqh and principles from Fazil Ardekani as an eminent master.He also travelled to Najaf and took part in the courses od Mirazye Shirazi.He had a special relation with his master Mirza Shirazi such a way that Mirza consulted with him in solving the problems and different subjects.