The relationship between religion and LGBT people (lesbian, gay, bisexual and transgender) can vary greatly across time and place, within and between different religions and sects, and regarding different forms of homosexuality, bisexuality, and transgender identity.
Some of the authoritative bodies and doctrines of the world's largest religions may view these negatively. This can range from quiet discouragement, explicitly forbidding same-sex sexual practices or sex/gender reassignment among adherents, actively opposing social acceptance of LGBT identities, to execution of people engaging in homosexual acts while tolerating sex/gender reassignment in specific cases.
Liberal and progressive voices within these religions tend to view LGBT people more positively, and some liberal religious denominations may bless same-sex marriages, as well as accepting and marrying people who are transgender. Historically, some cultures and religions accommodated, institutionalized, or revered same-sex love and sexuality; such mythologies and traditions can be found around the world; elements of religious and cultural incorporation of non-heterosexual practice can still be identified in traditions that have survived into the modern era, such as the Berdache,Hijra, and Xanith.
According to a 2006 Australian survey, LGBT Australians, compared to the general Australian population, were much more likely to have no religious affiliation, much less likely to be affiliated with a Christian denomination, and more likely to be affiliated with a non-Christian religion. The distribution of religions that LGBT Australians were raised in, however, was similar to that of the general population. Men, particularly bisexual men, were more likely to be Christian and more likely to have stayed in the same religion. Lesbians were more likely to have left the religion they were raised in and be currently unaffiliated.
A 2004 survey of LGB New Zealanders found that 73% had no religion, 14.8% were Christian and 2.2% were Buddhist. In contrast, in 2001 census the general New Zealand population reported 59.8% Christian and 29.2% no religion. When looking at change since 1966, LGB people are disaffiliating with Christianity at a rate 2.37 times the rate of the general population in New Zealand. In the survey 59.8% reported a belief in a spiritual force, god or gods; this differed significantly by gender, with 64.9% of women and 55.5% of men reporting such a belief.
The Radical Faeries are a worldwide queer spiritual movement, founded in 1979 in the United States. Radical Faerie communities are generally inspired by aboriginal, native or traditional spiritualities, especially those that incorporate queer sensibilities.
Opposition to same-sex marriage and LGBT rights is often associated with conservative religious views. The American Family Association and other religious groups have promoted boycotts of corporations whose policies support the LGBT community.
On the other hand, the Unitarian Universalist Association supports the freedom to marry  and compares resistance to it to the resistance to abolition of slavery, women's suffrage, and the end of anti-miscegenation laws.
Lesbians and gay men face particular problems in conservative Islamic nations where laws generally prohibit same-sex sexual behavior; where interpretation of Sharia Law on male homosexuality carries the death penalty this is quite a big problem for gay men, and this form of discrimination is seen as a breach of human rights by international human rights experts and human rights organisations such as Amnesty International; with the signature of the USA in 2009, the proposed UN declaration on LGBT rights has now been signed by every European secular state and all western nations, as well as others from South America and other countries around the world; 67 members of the UN have signed to date; there was an opposing statement put forward by Muslim nations, and this has been signed by 57 member states, the majority being in Africa and Asia. 68 out of the total 192 countries have not yet signed either statement.
Christian denominations have a variety of beliefs about LGBT people, and the moral status of same-sex sexual practices and gender variance. LGBT people may be barred from membership, accepted as laity, or ordained as clergy, depending on the denomination.
The Catholic Church welcomes people attracted to the same sex, while maintaining its teaching that homosexual relationships and acts are sinful. The Catholic Church considers transgender individuals to be their biological sex and admits no distinction between "sex" and "gender". Eastern Orthodoxy holds similar views on homosexuality. Protestant denominations have a wide range of views. Some denominations have similar views to the Catholic Church and Eastern Orthodoxy, and teach that all sexual relations outside of traditional marriage between a man and a woman are sinful, such as the Reformed Church in America,Southern Baptist Convention,Mormons and Jehovah's Witnesses.
Other Christian churches, such as the Church of England,United Church of Canada, the United Church of Christ, the Presbyterian Church (U.S.A.), the Evangelical Lutheran Church in Canada, the Evangelical Lutheran Church in America, the Lutheran Church of Sweden, the Lutheran Church of Denmark, the Lutheran Church in Norway, the Lutheran Church of Iceland, the Protestant Church of the Netherlands, the United Protestant Church in Belgium, the United Protestant Church of France, the German Lutheran, Reformed and United Churches in Evangelical Church in Germany, the Old Catholic Church, the Anglican Church in Canada, the Episcopal Church in United States or the Scottish Episcopal Church do not consider same-sex relations immoral, and will ordain LGBT clergy and do blessings of same-sex marriages. Liberal Quakers, those in membership of Britain Yearly Meeting and Friends General Conference in the US approve of same-sex marriage and union and conduct same-sex marriage ceremonies in the United Kingdom.
Islamic views on homosexuality are influenced by the rulings prescribed by the Qur'an and the teachings of the prophet Muhammed. The mainstream interpretation of Qur'anic verses and hadith condemn sexual acts between members of the same sex (along with most forms of extramarital relations). In contrast, transsexual individuals are often more accepted; for example, the Iranian government not only allows and recognises sex reassignment surgery, but also subsidises the procedure for transgender citizens.
The Bahá'í Faith teaches that the only acceptable form of sexual expression is within marriage, and Bahá'í marriage is defined in the religion's texts as exclusively between one man and one woman. Bahá'ís stress the importance of absolute chastity for any unmarried person, and focus on personal restraint. The Universal House of Justice, the elected governing body of the Bahá'í Faith, has stated that "the Faith does not recognize homosexuality as a 'natural' or permanent phenomenon." The Universal House of Justice has approved of and encouraged Shoghi Effendi's idea of possible medical treatment. However, membership in the Bahá'í community is open to lesbian and gay adherents, who are to be "advised and sympathized with".
Hinduism has taken various positions, ranging from positive to neutral or antagonistic. Referring to the nature of Samsara, the Rigveda, one of the four canonical sacred texts of Hinduism says 'Vikruti Evam Prakriti' (perversity/diversity is what nature is all about, or, what seems un-natural is also natural), which some scholars believe recognizes homosexuality as natural, if not an approval of homosexuality. Sexuality is rarely discussed openly in Hindu society, and LGBT issues are largely a taboo subject -- especially among the strongly religious. A "third gender" has been acknowledged within Hinduism since Vedic times. Several Hindu texts, such as Manu Smriti and Sushruta Samhita, assert that some people are born with either mixed male and female natures, or sexually neuter, as a matter of natural biology. They worked as hairdressers, flower-sellers, servants, masseurs and prostitutes. Today, many people of a "third gender" (hijras) live throughout India, mostly on the margins of society, and many still work in prostitution, or make a livelihood as beggars.
Several Hindu religious laws contain injunctions against homosexual activity, while some Hindu mythologies speaks favorably of lesbian relations and some third-gendered individuals were highly regarded by Hindu legends. Hindu groups are historically not unifyed regarding the issue of homosexuality, each one having a distinct doctrinal view.
The Indian Kama Sutra, written in the 4th century AD, contains passages describing eunuchs or "third-sex" males performing oral sex on men. However, the author was "not a fan of homosexual activities" and treated such individuals with disdain, according to historian Devdutt Pattanaik. Similarly, some medieval Hindu temples and artifacts openly depict both male homosexuality and lesbianism within their carvings, such as the temple walls at Khajuraho. Some infer from these images that Hindu society and religion were previously more open to variations in human sexuality than they are at present.
In some Hindu sects(specially among the hijras), many divinities are androgynous. There are Hindu deities who are intersex (both male and female); who manifest in all three genders; who switch from male to female or from female to male; male deities with female moods and female deities with male moods; deities born from two males or from two females; deities born from a single male or single female; deities who avoid the opposite sex; deities with principal companions of the same sex, and so on. However, this is not accepted by the majority of Hindus, and is often considered heretical in nature. Those who do accept it justify with the belief that both God and nature are unlimitedly diverse and God is difficult to comprehend.
According to the P?li Canon & ?gama (the Early Buddhist scriptures), there is no any saying that same or opposite gender relations have anything to do with sexual misconduct, and some Theravada monks express that same-gender relations do not violate the rule to avoid sexual misconduct, which means not having sex with someone under age (thus protected by their parents or guardians), someone betrothed or married and who have taken vows of religious celibacy.
In 1997 the 14th Dalai Lama Tenzin Gyatso said, "From a Buddhist point of view, men-to-men and women-to-women is generally considered sexual misconduct." However the view is not based on what Buddha's said, but from some later Abhidharma texts.
This section needs expansion. You can help by adding to it. (November 2015)
The Sikh holy book, the Guru Granth Sahib, does not explicitly mention homosexuality. The Guru Granth Sahib is seen as the spiritual authority on all Sikh matters.
Some modern Sikh leaders have condemned homosexuality. Giani Joginder Singh Vedanti of the temporal Sikh authority (Akal Takht), has condemned homosexuality while reminding visiting Sikh-Canadian Members of Parliament (MPs) of their religious duty to oppose same-sex marriage. The Sikh religious body, the Akal Takht, has issued an edict condemning gay marriage.
Religious Science is a teaching based on the text book "The Science of Mind" by Dr. Ernest Holmes first published in 1926 and revised in 1938. This 'new thought' tradition is related to the thoughts of Ralph Waldo Emerson and the transcendentalists as well as drawing on the main teachings of all the great world religions at the mystical level. The churches or centers are under an umbrella of "Centers for Sprititual Living". From its beginning Religious Science has advanced the social progressive edge by including all those regardless of sexual orientation fully into ministry, and blessing the marriages of same gender couples.
Unitarian Universalism and the Unitarian Universalist Association (UUA) have a long-standing tradition of welcoming LGBT people. The first ordained minister of any religion in the US or Canada to come out was the Rev. James Stoll in 1969. There have been UUA resolutions supporting people regardless of sexual orientation since 1970, and a popular program of becoming a "Welcoming Congregation" since 1989. The UUA has officially supported UUA clergy performing Services of Union between same-sex couples since 1984, and has supported same-sex marriage since 1996.
The Canadian Unitarian Council (CUC) similarly operates a Gender and Sexual Diversity Monitoring Group and, like the UUA (of which it became autonomous in 2002), has Welcoming Congregations. The Canadian Unitarian Universalist congregations perform same-sex marriages and the CUC supports this work through its Lay Chaplaincy program.
Abandoning sensual misconduct, he abstains from sensual misconduct. He does not get sexually involved with those who are protected by their mothers, their fathers, their brothers, their sisters, their relatives, or their Dhamma; those with husbands, those who entail punishments, or even those crowned with flowers by another man
The lay man is told to abstain from sex with "unsuitable partners" defined as girls under age, women betrothed or married and women who have taken vows of religious celibacy. This is clear, sound advice and seems to suggest that sexual misconduct is that which would disrupt existing family or love relationships. This is consonant with the general Buddhist principle that that which causes suffering for oneself or others is unethical behaviour. ("Unskillful behaviour" would be closer to the original.) There is no good reason to assume that homosexual relations which do not violate this principle should be treated differently.
The Pali scriptures make no mention of homosexuality being unwise sexual conduct. For monastics, all sexual intercourse is a root downfall. It doesn't specify the gender of one's partner. Vasubandhu, a teacher who came several centuries after the Buddha, discouraged homosexuality. Personally speaking, I think what's most important is the motivation behind how we use our sexuality. In other words, if people use their sexuality unkindly or unwisely, it doesn't matter if it is directed to someone of their own sex or the opposite sex.