who wrote the Koran?
Most likely Muhammad's closest followers actually wrote it down, as Muhammad was illiterate.
Since the Koran was written in completion in 650, about twenty yars after Muhammad's death, it is unlikely the Koran was already written down as a whole during the time of the prophet's life.