"We also sent Lut : He said to his people : "Do ye commit lewdness such as no people in creation (ever) committed before you? For ye practice your lusts on men in preference to women: ye are indeed a people transgressing beyond bounds." Qur'an 7:80-81
"What! Of all creatures do ye come unto the males, and leave the wives your Lord created for you? Nay, but ye are forward folk." Qur'an 26:165
The Hadith are collections of sayings attributed to Muhammad. Many Hadiths (ahadith) discuss liwat (sexual intercourse between males). Two examples are:
"When a man mounts another man, the throne of God shakes."
"Kill the one that is doing it and also kill the one that it is being done to." (in reference to the active and passive partners in gay sexual intercourse)
This does not sound like Islam is not against homosexuality.