Another leading scholar of the Ma'mun Academy, Abul Hayr ibn al-Hammar (942-1032), was born in Baghdad, the center of the caliphate. Here he studied medicine, logic, and philosophy from mature scientists and rose to the level of a well-known scientist of his time. His talent was especially evident in the field of medicine, and he was awarded the honorary title of the second Socrates in the East. He later moved to Gurganj at the suggestion of Khorezmshah Mamun and worked at the Mamun Academy until 1017 in collaboration with Beruni and other scholars. In the same year, Ibn Hammar, along with other scholars, was taken to the Treasury by Sultan Mahmud. The talented scholar Ibn Hammar died in Ghazna at the age of 90.
Abul Khayr ibn al-Khammar thoroughly studied Arabic, Persian, Syriac and Greek languages and translated many books in Syriac and Greek languages into Arabic. He is particularly famous in the field of medicine. He wrote about ten works on medicine, although most of them have not reached us. Among the works of the scientist that have come down to us and were written in Ma'mun's palace are the following: "Maqola fi imti¬han al-attibbo" ("The book about the experience of physicians"). This work is attributed to Khorezm Shah Ma'mun. "Maqola fi khulq al-insan wa tarqab a'zaih" ("Book on Human Behavior and Organ Composition"), "Kitab al-Hawamil" ("The Book of Pregnant Women") and "Kitab Tadbir al-Mashoyikh" ("The Book on the Event of the Elderly" ) are like. The above works of Ibn-Khammar include theoretical and practical issues of medicine. Ibn Sina used Ibn-Khammar's works as his first source when writing his "Laws of Medicine". Along with other scholars who worked at the Ma'mun Academy, ibn-Khammar also wrote his works in Arabic, which was the language of science at that time.