The Prophet of Islam said: "Whoever you find committing the sin of the people of Lut (Lot),
kill them, both the one who does it and the one to whom it is done" - i.e. if it is done with consent. (This hadeeth was narrated by al-Tirmidhi in his Sunan, 1376.)
Qur'anic Ayahs and AHadiths on Homosexuality
http://www.al-tawbah.faithweb.com/ayathadith.htm