Hinduism is one of the more open-minded religions when it comes to religious freedom. It respects the right of everyone to reach God in their own way. Hindus believe in different ways to preach attainment of God and religion as a philosophy and hence respect all religions as equal. One of the famous Hindu sayings about religion is: "Truth is one; sages call it by different names."
Conversion to Islam is simple, but Muslims are forbidden to convert from Islam to another religion. Certain Muslim-majority countries are known for their restrictions on religious freedom, highly favoring Muslim citizens over non-Muslim citizens. Other countries having the same restrictive laws tend to be more liberal when imposing them. Even other Muslim-majority countries are secular and thus do not regulate religious belief.
Some Islamic theologians quote the Qur'an ("There is no compulsion in religion"[2:256] and "Say: O you who reject faith, I do not worship what you worship, nor do you worship what I worship...To you be your religion, and to me be mine"[109:16], i.e., Sura Al-Kafirun) to show scriptural support for religious freedom.
Quran 2:190194, referring to the war against Pagans during the Battle of Badr in Medina, indicates that Muslims are only allowed to fight against those who intend to harm them (right of self-defense) and that if their enemies surrender, they must also stop because God does not like those who transgress limits.
In Bukhari:V9 N316, Jabir ibn 'Abdullah narrated that a Bedouin accepted Islam and then when he got a fever he demanded that Muhammad to cancel his pledge (allow him to renounce Islam). Muhammad refused to do so. The Bedouin man repeated his demand once, but Muhammad once again refused. Then, he (the Bedouin) left Medina. Muhammad said, "Madinah is like a pair of bellows (furnace): it expels its impurities and brightens and clear its good." In this narration, there was no evidence demonstrating that Muhammad ordered the execution of the Bedouin for wanting to renounce Islam.
In addition, Quran 5:3, which is believed to be God's final revelation to Muhammad, states that Muslims are to fear God and not those who reject Islam, and Quran 53:3839 states that one is accountable only for one's own actions. Therefore, it postulates that in Islam, in the matters of practising a religion, it does not relate to a worldly punishment, but rather these actions are accountable to God in the afterlife. Thus, this supports the argument against the execution of apostates in Islam.
However, on the other hand, some Muslims support the practice of executing apostates who leave Islam, as in Bukhari:V4 B52 N260; "The Prophet said, 'If a Muslim discards his religion, kill him.'"
In Iran, the constitution recognizes four religions whose status is formally protected: Zoroastrianism, Judaism, Christianity, and Islam. The constitution, however, also set the groundwork for the institutionalized persecution of Bah's, who have been subjected to arrests, beatings, executions, confiscation and destruction of property, and the denial of civil rights and liberties, and the denial of access to higher education. There is no freedom of conscience in Iran, as converting from Islam to any other religion is forbidden.
In Egypt, a 16 December 2006 judgment of the Supreme Administrative Council created a clear demarcation between recognized religions Islam, Christianity and Judaism and all other religious beliefs; no other religious affiliation is officially admissible. The ruling leaves members of other religious communities, including Bah's, without the ability to obtain the necessary government documents to have rights in their country, essentially denying them of all rights of citizenship. They cannot obtain ID cards, birth certificates, death certificates, marriage or divorce certificates, and passports; they also cannot be employed, educated, treated in public hospitals or vote, among other things. See Egyptian identification card controversy.