Farkard 19. translation by myself. 1- Sodomy existed among the Zoroasterian population of the Sassanid Empire. Else, there would have been no need for Arta Viraaf to portray such a horrible picture of this event in the Vision of his Ascension. The vision appears to generally portray a message in the context of an imagery which people were able to relate to and a thought which they would abhor. 2- Implications of unacceptability of such act within the realm of Zoroasterian dogma is apparent.
Abstinence is implied as the solution in preventing such a horrible torment in after life.
Since Hebrews lived among Egyptians for a long time they must have adopted some of their customs into their culture, one might assume that sodomy could have also been a social norm within the Egyptian society of that time period. Sahih Bukhari 8.820 There doesn't appear to be too much room for effeminate men within the Muslim community. However, effeminacy might not exactly equate with sexual tendencies toward another man. Furthermore, both the Qur'an and the Hadith deal with male-male sexual relationship in particular. The mentioning of the story of Lot, the nephew of Abraham and the people of Sodom in the Qur'an appear to imply that Arabs of the time of Muhammad must have also had similar social norms regarding sodomy.