The Middle Assyrian Law Codes (1075 BC) states: "If a man have intercourse with his brother-in-arms, they shall turn him into a eunuch", see Sodomy law#History
North Korea's only openly gay defector' finds love. BBC. The defectors all told her they were certain that anyone found exploring same-sex relationships would be ostracised at the very least, possibly even executed.
Center for North Korean Human Rights Record. Report on North Korean Human Rights (报告): 70. [September 23, 2023]. Based on testimonies collected, it appears that certain detention facilities practice secret executions of their detainees. There are detention centers called ‘kukeumso’ managed by the Ministry of State Security where most of the detainees are transferred to political prison camps or secretly executed, and it is very rare for them to be transferred to kyohwaso [prison camp]. A defector who directly heard it from the head of the kukeumso testified that in 2014, a male detainee was secretly executed for homosexuality, and in 2013, a female detainee was secretly executed for prostitution. (72 in PDF)
Bureau of Democracy, Human Rights and Labor. Bangladesh 2016 Human Rights Report(PDF). state.gov. United States Department of State: 45. [28 March 2017]. (原始内容(PDF)存档于2017-03-07). Consensual same-sex sexual activity is illegal under Section 377 of the Code of Criminal Procedure, but the law was not enforced.
The Constitution of the Republic of Poland. Sejm RP. [2015-05-05]. Marriage, being a union of a man and a woman, as well as the family, motherhood and parenthood, shall be placed under the protection and care of the Republic of Poland.
CONSTITUTION OF THE REPUBLIC OF BELARUS OF 1994. National Legal Internet Portal Of The Republic Of Belarus. Law.by. [2015-06-22]. Article 32. [...] On reaching the age of consent a woman and a man shall have the right to enter into marriage on a voluntary basis and found a family.
First post-Mediaeval criminal code in the Principality of Serbia, named "Kaznitelni zakon" (Law of Penalties), adopted in 1860, punishes sexual intercourse "against the order of nature" between males with 6 months to 4 years inprisonment. V. Para # 206, p. 82 of the "Kaznitelni zakon 1860" in Slavo-Serbian orthography [2]