(And the two persons among you who commit illegal sexual intercourse, punish them both.) Ibn `Abbas and Sa`id bin Jubayr said that this punishment includes cursing, shaming them and beating them with sandals. This was the ruling until Allah abrogated it with flogging or stoning, as we stated. Mujahid said, "It was revealed about the case of two men who do it.As if he was referring to the actions of the people of Lut, and Allah knows best. The collectors of Sunan recorded that Ibn `Abbas said that the Messenger of Allah said,
«مَنْ رَأَيْتُمُوهُ يَعْمَلُ عَمَلَ قَوْمِ لُوطٍ، فَاقْتُلُوا الْفَاعِلَ وَالْمَفْعُولَ بِه»(Whoever you catch committing the act of the people of Lut (homosexuality), then kill both parties to the act.)
إِنَّكُمْ لَتَأْتُونَ الرّجَالَ شَهْوَةً مّن دُونِ النّسَآء]("Do you commit lewdness such as none preceding you has committed in all of the nations Verily, you practice your lusts on men instead of women.") meaning, you left women whom Allah created for you and instead had sex with men Indeed, this behavior is evil and ignorant because you have placed things in their improper places.