The central purpose of Islam is to create a society where people can live in peace and harmony. Therefore, it is the duty of all Muslims to encourage others to do good, for the sake of God. In the Hadith, Muhammad promises that the person who persuades someone to do a good deed will get the same reward as the person he persuaded.