Afghanistan, Pakistan and the Gulf countries tolerate it well, and it is said to be epidemic in places like Kuwait and Saudi Arabia. There is also quite of bit of it in Syria, Egypt and Morocco.
It is not tolerated at all in Iran, Iraq, or Shia Lebanon, as Shia Islam is much more condemning of male homosexuality than Sunni Islam.
It is not that Sunni Islam necessarily is more tolerant of male homosexuality but that there is more variation in the Sunni world.
Palestine is not tolerant of male homosexuality at all, as gay men are frequently killed there. They are also commonly killed in Iraq and Iran. Syria used to be relatively more tolerant, but the parts of Syria taken over Islamists are very intolerant of gay men to the point where they are murdering them.
I have no data on male homosexuality in Algeria, Tunisia, Libya, Jordan or Sunni Lebanon.
I also know nothing about it in the Muslim Sahel, Horn of Africa and West Africa.
I know nothing about male homosexuality in Muslim Europe such as Bosnia and Albania, although I assume it is more tolerated there than elsewhere.
Turkey is a mixed bag, as there is said to be a lot of male homosexuality, but it is also officially not tolerated. Sort of a don’t ask, don’t tell thing.
I know nothing of male homosexuality in the Caucasus, Muslim Russia, the Stans, India and Xinjiang.
I do not know what it was like before, but a lot of gay men are being murdered now in Bangladesh. I think there have been 30-40 such murders in the past couple of years. Gay rights advocates rather than gay men in general have been targeted.
I also know nothing about male homosexuality in Muslim Thailand, Muslim Burma, Muslim Cambodia, Malaysia, Brunei, Indonesia and the Southern Philippines. Male homosexuality is pretty well tolerated in Thailand and the Philippines, but I am not sure how ok it is in the Muslim parts of those nations.
Admittedly I am not the best person to ask about the situation for male homosexuality and gay men in the Muslim World.
Any further information would be interesting.