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.
However, Islam permits what is prohibited as a temporary measure, for example, consuming pork is prohibited in Islam, however if one is in a state where he has to consume pork to live, he/she can consume it for that time being and save his/her life. Islam is a very flexible religion and Allah mentions in the Quran: “Allah intends for you ease, and He does not want for you difficulty..” (Quran 2:185)
An Islamic society can legislate any law for improving and uplifting life, as long as they are not in contradiction to the law ordained by Allah