Verily, these are men who want to be clean and pure! We destined her to be of those who remained behind. So evil was the rain of those who were warned” [al-Naml -58 – interpretation of the meaning] These verses refer to the punishment that befell the people of Loot.
And if they repent (promise Allaah that they will never repeat, i.e.
commit illegal sexual intercourse and other similar sins) and do righteous good deeds, leave them alone.
Surely, Allaah is Ever All-Forgiving (the One Who forgives and accepts repentance), (and He is) Most Merciful” [al-Nisa’ ] Ibn Katheer said: “The words of Allaah ‘And the two persons (man and woman) among you who commit illegal sexual intercourse, hurt them both’ mean, those who commit immoral actions, punish them both.
Ibn ‘Abbaas (may Allaah be pleased with him), Sa’eed ibn Jubayr and others said: By condemning them, shaming them and hitting them with shoes.
There are two opinions which I heard Shaykh al-Islam (may Allaah have mercy on him) narrate.” (al-Jawaab al-Kaafi, p. Homosexuality means having intercourse with males in the back passage.