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.