The third of the five pillars of Islam is giving charity, or zakat. By giving zakat, the Muslim is taking action to purify his wealth by sharing his wealth with those less fortunate. This also helps to mitigate envy between different classes within a society, and also fosters brotherhood amongst Muslims. Such actions can go a long way in establishing a just and crime-free society.
In addition to creating harmony within society, paying zakah also creates harmony within the individual. The person who gives the proper charity to those in need is protecting himself from selfishness and miserliness which induces cleansing of one’s ill deeds