 He denounced his predecessors at the Acehnese court, Hamzah Pansuri and Syamsuddin of Pasai, for what he saw as their heresy in violation of the Islamic belief that God was unchanged by his creation.He ordered their books to be burned, while he wrote numerous works setting what he insisted were orthodox religious standards.His most notable work was the Bustan as-Salatin ("The Garden of Kings"), begun in 1638 and written in Malay based on Arabic sources.