وَلُوطًا إِذْ قَالَ لِقَوْمِهِۦٓ أَتَأْتُونَ ٱلْفَٰحِشَةَ مَا سَبَقَكُم بِهَا مِنْ أَحَدٍۢ مِّنَ ٱلْعَٰلَمِينَ ﴿٨٠﴾
And Lot! (Remember) when he said unto his folk: Will ye commit abomination such as no creature ever did before you?
Haram Family & relations Quran · 4
Islam forbids same-sex acts, as the Quran recounts in the story of the people of Lut (7:80-81, 26:165-166). The ruling concerns the act. A person who struggles with their feelings should be treated with respect and mercy, repentance is open to everyone, and Muslims are not allowed to harm or insult anyone.
وَلُوطًا إِذْ قَالَ لِقَوْمِهِۦٓ أَتَأْتُونَ ٱلْفَٰحِشَةَ مَا سَبَقَكُم بِهَا مِنْ أَحَدٍۢ مِّنَ ٱلْعَٰلَمِينَ ﴿٨٠﴾
And Lot! (Remember) when he said unto his folk: Will ye commit abomination such as no creature ever did before you?
إِنَّكُمْ لَتَأْتُونَ ٱلرِّجَالَ شَهْوَةًۭ مِّن دُونِ ٱلنِّسَآءِ ۚ بَلْ أَنتُمْ قَوْمٌۭ مُّسْرِفُونَ ﴿٨١﴾
Lo! ye come with lust unto men instead of women. Nay, but ye are wanton folk.
أَتَأْتُونَ ٱلذُّكْرَانَ مِنَ ٱلْعَٰلَمِينَ ﴿١٦٥﴾
What! Of all creatures do ye come unto the males,
وَتَذَرُونَ مَا خَلَقَ لَكُمْ رَبُّكُم مِّنْ أَزْوَٰجِكُم ۚ بَلْ أَنتُمْ قَوْمٌ عَادُونَ ﴿١٦٦﴾
And leave the wives your Lord created for you? Nay, but ye are froward folk.
This is general information, not a fatwa. For your own situation, ask a qualified scholar.