You think a country that had rulers with dozens or hundreds of concubines, and eunuchs minding them and many men with up to 4 wives, there weren’t plenty of people seeking pleasure in any possible combination. The first link below is a rather idealized view written from a middle east/Muslim Indian perspective. The second one is written from a strong Christian perspective. The third is a whole scholarly book on the subject.
http://shoebat.com/2014/12/05/islam-religion-homosexuality-pedophilia/