The doctrine of social service, in terms of alleviating suffering and helping the needy, constitutes an integral part of Islamic teaching https://www.themuslimpath.com/.
Praying to God and other religious acts are deemed to be incomplete in the absence of active service to the needy. In regard to this matter, the Qurʾānic criticisms of human nature become very sharp: “Man is by nature timid; when evil befalls him, he panics, but when good things come to him he prevents them from reaching others.” It is Satan who whispers into a person’s ears that by spending for others he will become poor.
God, on the contrary, promises prosperity in exchange for such expenditure, which constitutes a credit with God and grows much more than the money people invest in usury. Hoarding of wealth without recognizing the rights of the poor is threatened with the direst punishment in the hereafter and is declared to be one of the main causes of the decay of societies in this world. The practice of usury is forbidden.
With this socioeconomic doctrine cementing the bond of faith, there emerges the idea of a closely knit community of the faithful who are declared to be “brothers unto each other.” Muslims are described as “the middle community bearing witness on humankind,” “the best community produced for humankind,” whose function it is “to enjoin good and forbid evil” (Qurʾān).
Cooperation and “good advice” within the community are emphasized, and a person who deliberately tries to harm the interests of the community is to be given exemplary punishment.
Opponents from within the community are to be fought and reduced with armed force, if issues cannot be settled by persuasion and arbitration.