“And as for the sodomisers: when I say “man unites with his wife”, that is what I mean. Literally. No other unions are allowed. Those who practice their lusts on men in preference to women: they are surely a people transgressing beyond bounds.58They commit an abomination such as no creature ever did before them.59”
“But what must the punishment be, my lord?” his followers asked.
“The sin of homosexuality is even greater than adultery.59 And you all know how we punish that one.”
His followers looked anxiously at one another, for they remembered the last stoning of an adulterer they had witnessed and could not imagine anything worse.
“Just use your imagination, which has been given to you by our Heavenly father,” spoke Jesus. “I am certain you will come up with something extraordinary. And in my mercy I will give you a clue: tall buildings.” And he blessed them and went on his way.
These biblical verses (… made them male and female…) are sometimes used to argue that Jesus was against homosexuality, although he never touches the subject directly (nor does he come close to suggest punishment for it). Traditional Christian communities consider homosexuality a sin, and there are still many Western countries that do not treat gays equally. However, to my knowledge these countries do not order torture or death penalties for different sexual orientations.
Islam clearly condemns homosexuality, and some islamic traditions proscribe severe punishment for it based on the interpretation of the religious texts (see “islamic sources” for yourself). In fundamentalist muslim communities, homosexuals are sometimes hanged (e.g. Iran) or thrown off buildings. Anno 2017, all countries with capital punishment for gays are Islamic: Afghanistan, Brunei, Mauritania (only applies to Muslim men), Sudan (for a third conviction), Northern Nigeria (where several states have adopted sharia law), Yemen, Saudi Arabia, Qatar (applies only to Muslims, for extramarital-sex regardless of the gender of the participants), Somalia (where several southern states have adopted sharia law), Iran, Islamic State of Iraq and the Levant.