stylistic:style_transfer, quality:correction, structural:reformatting
Compilation and preservation

Following Muhammad's death in 632, a number of his companions who memorized the Quran were killed in the Battle of al-Yamama by Musaylima. The first caliph, Abu Bakr (r. 632–634), subsequently decided to collect the book in one volume so that it could be preserved. Zayd ibn Thabit (d. 655) was the person to collect the Quran since "he used to write the Divine Inspiration for Allah's Apostle". Thus, a group of scribes, most importantly Zayd, collected the verses and produced a hand-written manuscript of the complete book. The manuscript according to Zayd remained with Abu Bakr until he died. Zayd's reaction to the task and the difficulties in collecting the Quranic material from parchments, palm-leaf stalks, thin stones (collectively known as suhuf, any written work containing divine teachings) and from men who knew it by heart is recorded in earlier narratives. In 644, Muhammad's widow Hafsa bint Umar was entrusted with the manuscript until the third caliph, Uthman (r. 644–656), requested the standard copy from her. According to historian Michael Cook, early Muslim narratives about the collection and compilation of the Quran sometimes contradict themselves: "Most... make Uthman little more than an editor, but there are some in which he appears very much a collector, appealing to people to bring him any bit of the Quran they happen to possess." Some accounts also "suggest that in fact the material" Abu Bakr worked with "had already been assembled", which since he was the first caliph, would mean they were collected when Muhammad was still alive.