Can you provide the Biblical passage that states this? I am unaware of any such statement in the Bible. If you are referring to Sodom, that had more to do with impoliteness with regard to guests. In Ezekiel, we read:
Behold, this was the iniquity of thy sister Sodom, pride, fullness of bread, and abundance of idleness was in her and in her daughters, neither did she strengthen the hand of the poor and needy. And they were haughty, and committed abomination before me: therefore I took them away as I saw good.
In this verse, how do we interpret that word abomination? You may infer that it has to do with sexuality but that is NOT what this says. There is inference about rape of angels, as it relates to Lot, whom as you know, committed incest and pedophilia, although that is debatable as the girls allegedly got Lot drunk. It is not until Paul put in his two cents that this became a story of homosexuality. And as you know, Christ never said a word about this.