It was narrated from Ibn Abbas that the Prophet (ﷺ) said:
"If one man says another: 'O effeminate one!' give him twenty lashes. And if one man says to another: 'O homosexual!' give him twenty twenty lashes."
English reference: Vol. 3, Book 20, Hadith 2568
Arabic reference: Book 20, Hadith 2665
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.