The holy Quran veses were written at Muhammads life but gather after he died.
Some people were writing the holy Quran statements in order not to forget.