His most notable work was the Bustan as-Salatin ("The Garden of Kings"), begun in 1638 and written in Malay based on Arabic sources. It is a seven-volume encyclopedic work, covering the history of the world from the creation through the period of prophets of Islam and the Muslim kings of the Middle East and the Malay area, as well as several sciences.