He needs to say it like this, “I’m a Muslim, and the Koran says homosexuality is wrong.”
I was just thinking along the same lines! Could you imagine what this teacher would’ve said/done; if this student did say that/or that this student was a Muslim and said something like that? Heaven’s sake!