You cannot talk about the Prophet Mohammad and call him homosexual. You have absolutely no proof of that, and you are just deliberatly insulting Muslims in saying such things.-
If you recall your History the Homosexual Muhammad (pbuh) was illiterate, he could not read and write.
The Qur'am was written
Approximate 100 years after the fagot Muhammad was dead and buried before the first Qur'an was ever put together as 1 book and than many were written and many had different verses and meaning.
Most Biblical texts and even the Gospels were written years after the events. There is such things as the oral tradition. The prophet was dictating texts that his followers were learning by heart. These texts were later written down. That was the case for many texts then.