 He was a Minangkabau custom experts, so that not only matters of religion that prompted people to him, even the custom affairs.Imam al-Ghazali on khalawat highly consumed by him.His teacher, Tuanku Nan Tuo, interested him and after his daughter Siti Saerah a teenage girl, he take Tuanku Abdullah Saleh as son-in law.