Mohammad Gharib was born in 1288 SH in Tehran, He passed his early education in Sirus High School and later attended Dar ul-Funun. He was amongst the first group of Iranian students who were sent to France to study medicine. He began his education in medicine in the city Reims. By the end of the first year, he won the anatomy laboratory award of Faculty of Medicine of University of Reims. In the second year, he began working in the hospitals of the same city, and at the beginning of the fourth year of his education, he was accepted in the extern competition of Paris hospital and randomly attended different services. He finished his education in 1316 SH. His doctrine was about apneas of the infants, which he defended to earn the M.D. doctorate from Medical University of Paris. Dr. Gharib was the first Iranian to pass the internship test. The internship test of Paris is one of the hardest exams of medical universities of France. He finished his education in 1317 SH and returned to Tehran because he believed that this knowledge and art should be provided only in his home country. After serving under the flag of Iran, he was chosen as the professor and chief of Pediatrics Department of New Organization of University of Medicine.
Dr. Gharib is one of the most renowned and prominent teachers of Tehran University of Medicinal Science. He and Dr. Fereidun Keshawarz were the founders of Pediatrics in Iran. Dr. Gharib is also known as the father of Pediatrics of Iran. He was quiet interested in his profession as well as teaching students. He gathered his students, chose a case from the ward and described his history to them. First, he asked them questions. And when the answers were not correct, he would mock and criticize the students. This approach resulted in the students to be more exact and study harder.
One of the contributions of Dr. Gharib to the medicine of Iran is founding the Center of Blood Transfusion (he was the first person to do a blood transfusion in Iran) and explaining the function and use of antibiotics, which no one knew of up to that point. Dr. Gharib believed that medicine faced two kinds of problems, one kind was common and the other rare. And Iran, as a third world country, must take care of the common problems and guide the others. Dr. Gharib passed away in 1353 after years of struggling with bladder cancer.