Homosexuality and religion
The discourse on homosexuality in Islam is primarily concerned with activities between men. There are, however, a few hadiths that mention homosexual behavior among women. Although punishment for lesbianism is rarely mentioned in the histories, al-Tabari records an example of the casual execution in the year 170 AH (786 or 787 AD) of a pair of lesbian slavegirls in the harem of al-Hadi in a collection of highly critical anecdotes pertaining to that Caliph's actions as ruler.