If two men commit a lewd act, punish them both; if they repent and mend their ways, leave them alone- God is always ready to accept repentance, He is full of mercy.
If two men among you are guilty of lewdness, punish them both. If they repent and amend, Leave them alone; for Allah is Oft-returning, Most Merciful.