Hakim Abul Fath received education from his father. He later obtained further knowledge in the sciences of his time. He was a good poet and writer but he chiefly specialised in medicine. During the reign of Akbar (1556-1605) he came to India along with his brothers Humayun and Qarari. The king received them with great honour and respect and offered them respectable positions in the court. With time the Hakim attained the position of a courtier and then rose to the position of Sadr al-Sadur of Akbar. Hakim Masih al-Din Abul Fath Gilani slowly developed a close relationship with the king. He was considered as one of the early well known physicians who came to the court of Akbar. Mawalana Abdul Baqi Nahawandi while stating about his position in the court of Akbar remarked that he enjoyed greater influence with the Emperor than Jafar Barmecide had with Caliph Harun-al-Rashid.
Hakim Masih al-Din Abul Fath Gilani was well-versed both in medicine and theology. Following are the two important works of the Hakim known to people even today:
* Fattahi, a detailed commentary on Qanuncha of Chaghmani.
* Qayasiya, a commentary on Akhlaq-i Nasiri.
Hakim Masih al-Din Abul Fath Gilani while travelling from Kashmir to Kabul died of diarrhoea at Damtur. Emperor Akbar had instructed him to proceed for a campaign. as per the order of the king he was buried at Hassan Abdal.