According to the International Lesbian and Gay Association (ILGA) seven majority Muslim countries still maintain the death penalty for homosexual activity.
They are Afghanistan, Iran, Mauritania, Pakistan, Saudi Arabia, Sudan, and Yemen.
In northern Nigeria, where some states use Sharia law, homosexuality is also punishable by death.
In Iran gay men are normally arrested under other trumped up charges. But in September 2011 three men were executed for homosexuality.