Muhammad explicitly condemned homosexual acts.
For example:
Sunan al-Tirmidhi, 1456:
"Whoever you find doing the action of the people of Lot (i.e., homosexual acts), kill the one who does it and the one to whom it is done."
Sunan Ibn Majah, 2561:
"May Allah curse the one who does the deed of the people of Lot."