He was also inspired by the understanding of salaf from the teaching of Muhammad ibn Abdul Wahab during his time in Mecca. Muhammad Saleh became the leader of the Padri movement in Tambusai and was granted the title by Tuanku Tambusai, meaning, Lord of Tambusai, by the Sultan.