Below you can find list of 5 most dangerous countries for gay travelers. We have to note that this is a subjective ranking with a lot of shortcomings.
5. Mauritania
If you’re a homosexual in Mauritania but you’re a non Muslim, then you don’t have to worry. But if you’re a Muslim, then you can be sentenced to death by stoning. However, the country has a moratorium on the death penalty, and no one has been executed in this respect.

Pixabay/Public Domain
4. Afghanistan
Afghanistan has its own implementation of the Shariah law, which allows for the death penalty against homosexuals. While it was generally not applied after the end of Taliban rule, there is a sad exception where three people were sentenced to death via wall toppling, with one managing to survive and being allowed to live.

Pixabay/Public Domain
3. Nigeria
You may find wine and pork to be plentiful in Nigeria, but homosexuality is still strictly discouraged with even its discussion forbidden. In states with Sharia law, a death sentence awaits anyone found guilty.

Pixabay/Public Domain
2. Saudi Arabia
No surprise to see Saudi Arabia on the list of the most dangerous countries for gay travelers. 100 whips or 1 year in prison is the starting sentence, while Sharia implementation can see the death penalty imposed as well. There are no confirmations on whether this has been carried out, but Saudi Arabia executes a lot of people, mostly for drug crimes, so this wouldn’t be very surprising.

Pixabay/Public Domain