Ok now that I'm done doing that Ill procrastinate on dishes for a little to quote. Let me correct myself it's 11 countries not 13. I can't do math.
From the second link:
Same-sex sexual activity is a crime in 70 countries. Some of them, including six nations that are members of the United Nations, impose the death penalty. Another five make such punishment technically possible, even though it is rarely enforced. In 26 other countries, the maximum penalty is prison with terms varying anywhere from a few years to life imprisonment. On a more positive note,
these are the countries where same sex marriage is officially legal.
From the 1st:
Notably, as of January 2021, 29 countries recognized
same-sex marriage. By contrast, not counting non-state actors and extrajudicial killings, only one country is believed to impose the death penalty on consensual same-sex sexual acts: Iran. The death penalty is
officially law but generally
not practiced in
Afghanistan,
Brunei,
Mauritania,
Nigeria (in the northern third of the country),
Saudi Arabia,
Somalia (in the autonomous state of
Jubaland) and the
United Arab Emirates.
Sudan rescinded its unenforced death penalty for anal sex (hetero- or homosexual) in 2020. Fifteen countries have stoning on the books as a
penalty for adultery, which would include gay sex, but this is only enforced by the legal authorities in
Iran.
[1][2]