Sodomy is an Indecency (https://www.al-islam.org/greater-sins-volume-1-ayatullah-sayyid-abdul-husayn-dastghaib-shirazi/eleventh-greater-sin-sodomy#sodomy-indecency)
Hazrat Imam ‘Ali ar-Riďa (a.s.) has said; “Refrain from adultery and sodomy, and this sodomy is worse than adultery. These two sins are the causes of seventy two ills of this life and the Hereafter.”
The Qur’an has used the word ‘indecency’ for adultery in the way it has also used it for sodomy. It is said in Surah al-Ar’āf: “And (we sent) Lut when he said to his people: What! Do you commit an indecency which anyone in the world has not done before you?” “Most surely you come to males in lust besides females. Nay you are a prodigal people”. (Surah al-Ar’āf 7:80-81)
What could be more indecent than the act where man squanders away his sperms in a way prohibited by Allah (S.w.T.) instead of allowing them to reach the wombs of women to ensure the continuation of the human race.
Sodomy and homosexuality are denounced in Surah Hūd, Surah Al-’Ankabūt, Surah Qamar, Surah an-Najm in addition to Surah al-Ar’āf; so that the people are fully warned. Allah (S.w.T.) has strictly forbidden such a loathsome act.
Reference: https://www.al-islam.org/greater-sins-volume-1- ayatullah-sayyid-abdul-husayn-dastghaib-shirazi/eleventh-greater-sin-sodomy
Please refer to this link for further information: http://www.islamicinsights.com/religion/confronting-homosexuality.html
Sheikh Kumail Rajani