 While in Medan, he wrote" Di Bawah Lindungan Ka'bah", which was inspired by his trip to Mecca in 1927.After the novel was published in 1938, he wrote" Sinking of the van der Wijck", which was written as a serialised story in" Pedoman Masyarakat".In addition, he also published several novels and books such as