Why was homosexuality with slaves allowed in the Ottoman Empire?

by Khalibre

It is to my understanding that some Turks would have sexual relationships with boys, mainly slaves I think. Homosexual acts are forbidden in Islam however and I imagine that there would have been a large stigma towards homosexual feelings of any kind. How was this practice accepted?

sheehanmilesk