Democracy in Islam focuses on government and rulers.
Islam is a “total way of life". It has provided guidance in every sphere of life, from individual cleanliness, rules of trade, to the structure and politics of the society. Islam can never be separated from social, political, or economic life, since religion provides moral guidance for every action that a person takes.
Muslims have a right to appoint their rulers, hold them accountable and, when need be, to remove them from office. Islam does not, however, empower the system of government with the right to absolve or change the legislation of the religion. What this means is that the people or their elected officials do not have a right to make permissible what God has forbidden, or to declare forbidden what God has made permissible.
Allah, the Exalted mentions in the Quran, “O you who believe, be upright for God, and (be) bearers of witness with justice!...” (Quran 5:8)
Therefore, one may conclude that justice is an obligation of Islam and injustice is forbidden. The Islamic standards of justice transcend considerations of race, religion, colour and creed, as Muslims are commanded to be just to their friends and foes alike, and to be just at all levels. As the Quran mentions: “O you who believe! Stand out firmly for justice, as witnesses to Allah, even if it be against yourselves, your parents and your relatives, or whether it is against the rich or the poor...” (Quran 4:135)
“Let not the hatred of a people swerve you away from justice. Be just, for this is closest to righteousness…” (Quran 5:8)