To preserve society from instability and keep it in a perpetually reformed state, Islam has given a basic commandment, which has been mentioned at many places in the Quran. One such Quranic verse runs: “(Believers are those) who enjoin good and forbid evil” (9:112). The same point has also been repeatedly made in a number of traditions such as the following: “A believer ought to open the gate of good and close the door of evil.” (Sunan Ibn Majah, Hadith no. 237)
This commandment has been misrepresented by certain self-styled advocates of Islamic revolution as being political in nature. But this is not so. It is entirely non-political. It only indicates that every member of society should have a strong sense of his responsibility towards society. No one should remain indifferent on seeing the perpetration of evil or injustice. He should feel the pain of others in his own heart. He should rise in support of the rights of the oppressed. When one sees someone engaged in the calumny and slander of others, he should attempt to stop him from doing so. He should make the iniquity known to other people, so that the culprit may be compelled by means of public pressure to desist from indulging in such evil acts.
Every member of society should consider the upholding of virtue to be an essential duty. The greatest concern of every individual should be to see that goodness flourishes in society and that evils are uprooted from it. Before any evil takes roots, it should be nipped in the bud.
This task of enjoining good and forbidding evil has to be performed with the utmost gentleness and well wishing rather than with harshness and violence.
That is why this social responsibility has been linked with acts of worship in Islam. For instance, with reference to prayer, the Quran says: “Surely prayer restrains one from indecency and evil.” (29:45)
Source: The Man Islam Builds