If a person who has committed the lesser crimes referred to above repents before the giving of testimony by the witnesses, the punishment is quashed. The judge may punish the person for lesser crimes at his discretion.
The punishment for lesbianism (mosahegheh) involving persons who are mature, of sound mind, and consenting, is 50 lashes.
In postreform China, many sexual minorities have developed an awareness of sexual rights and a sense of belonging in a queer globality.
LGBT rights in Iran have come in conflict with the penal code since the 1930s.All sexual relations that occur outside a traditional, heterosexual marriage (i.e.sodomy or adultery) are illegal and no legal distinction is made between consensual or non-consensual sodomy.In Persian poetry, references to sexual love can be found in addition to those of spiritual/religious love.A few ghazals (love poems) and texts in Saadi's Bustan and Gulistan have been interpreted by Western readers as homoerotic poems.