The most sited story of homosexuality being a sin is Genesis 19 in the Torah/old testiment depending upon your religion.
The Bible or Torah never directly say homosexuality is a sin, it has merely been interpreted that way by few and been accepted by some.
Here is a summary of Genesis 19 as well as both sides analysis, decide for yourself.
Genesis 18 describes a meeting between God, two angels, Abraham and Sarah. God had apparently decided to kill all of the men, women, youths, children and newborns in the four cities. Abraham bartered with God, as a Middle-East resident would in a market place. He persuades God to cancel the mass murder if ten righteous people can be found in Sodom.
Genesis 19 describes how the two angels who accompanied God went on to visit the Canaanite city of Sodom. The city had just experienced warfare (Genesis 14:1-2) and was probably on high alert to forestall more conflict. Lot welcomed the angels into his house. They had been sent to warn him that God was displeased with the wickedness of the city's residents. God had decided to destroy a large geographical area, including the city of Sodom. All of the people from the city gathered around the house and demanded that Lot send the strangers to the mob so that they might "know" the angels. Sensing evil intent by the citizens of Sodom, Lot refused. As an alternative, he offered his two virgin daughters to be raped by the mob, if that would appease them. Since young women were generally married by the age of 15 in that culture, his daughters would have had to be 14 years old or younger! The offer was declined. The angels blinded some of the mob. Later, the angels urged Lot and his family to flee and to not look back. Unfortunately, Lot's wife seems to have had an inquisitive mind. She looked the wrong way, so God killed her on the spot and turned her into a pillar of salt.
Interpretation by many conservative Christians:
The meaning of this chapter in Genesis is obvious, and does not require any detailed analysis. "Knowing" the angels means that the intent of the mob was to engage in an orgy of anal intercourse with the angels. This is why God was displeased with the inhabitants of the city and decided to destroy both the city and its inhabitants. God hates homosexuality then and now.
Interpretation by many liberal Christians:
Many feel that Genesis 19 is unrelated to consensual same-sex behavior. It may be related to homosexual rape which is as abhorrent as heterosexual rape.
I do not think it was intended by god to even be interpreted this way, but even if it was I do not think god intended it as condemnation of homosexuality, the most twisted way I see it I still have to agree with the liberal perspective. In no way is god intending to condemn homosexuality.
Full story at
http://www.religioustolerance.org/hom_bibg.htm