Islamic Shari’ah law is extracted from both the Qur’an and Muhammad’s Sunnah (found in the Hadith and Sira). Islamic jurisprudence are expansion of the laws contained within them by Islamic jurists. Therefore, they are seen as the laws of Allah. You need only look to the rulings under Shari’ah to see the accepted mainstream interpretation of Islam and its commandments to its followers. Homosexuality under this law, is not only a sin, but a punishable crime against God.
In the case of homosexuality, how it is dealt with differs between the four mainline schools of Sunni jurisprudence today, but what they all agree upon is that homosexuality is worthy of a severe penalty. (SOURCE)