وَٱلَّذَانِ يَأۡتِيَٰنِهَا مِنكُمۡ فَـَٔاذُوهُمَاۖ فَإِن تَابَا وَأَصۡلَحَا فَأَعۡرِضُواْ عَنۡهُمَآۗ إِنَّ ٱللَّهَ كَانَ تَوَّابٗا رَّحِيمًا
Rowwad Translation Center
If two among you commit this [sin], chastise them. Then if they repent and mend their ways, leave them alone[1]. Indeed, Allah is Accepting of Repentance, Most Merciful.
Notes
[1] Scholars differed over whether "the two" refers to two of the same sex (i.e., homosexuals) or those of opposite sexes. In either case, later rulings outlined in the Sunnah have replaced this one.
Translation: Rowwad Translation Center. Source: QuranEnc.com, version 1.0.20.
Arabic text: King Fahd Glorious Quran Printing Complex. Surah details: Tanzil.net (CC BY 3.0).
This is a translation of the meanings of the Quran. Like any human work, it may contain errors.