The Prophet ﷺ called for a sheet of paper near the time of his death so he could write a document by which they would not go astray after him. Umar bin Khattab disagreed about it until the Prophet ﷺ set the matter aside.
أن النبي ﷺ دعا عند موته بصحيفة ليكتب فيها كتابا لا يضلون بعده، قال: فخالف عليها عمر بن الخطاب حتى رفضها.
Ahmad (14726) narrated it from Musa bin Dawud, who said, Ibn Lahia narrated to us, from Abu Zubayr, from Jabir, who said, then he mentioned it. There is well known discussion regarding Ibn Lahia, but he has a corroborating narration. Qurra bin Khalid corroborated him, narrating from Abu Zubayr with the same wording, and his hadith was reported by Abu Yaala (1869). Its chain is hasan because of Abu Zubayr.Regarding his saying, "Come, let me write for you a document after which you will not go astray," Nawawi said in his commentary on Sahih Muslim, the scholars differed about the document the Prophet ﷺ intended to write. Some said he meant to specify the succession in a particular person so that no dispute or discord would occur. Others said he meant a document summarizing the essential rulings, so that disputes over them would be resolved and agreement would be reached on what was explicitly stated. The Prophet ﷺ intended to write the document at a time when it appeared to him to be beneficial, or he was inspired to do so, and then it became apparent that leaving it was more beneficial, or he was inspired to that effect, abrogating the earlier command.As for Umar's statement, the scholars who have discussed this hadith agree that it demonstrates Umar's understanding, his virtues, and the precision of his insight. He feared that the Prophet ﷺ might write down matters that they would be unable to fulfill and would thus deserve punishment for failing them, since those matters would be explicitly stated with no room for independent reasoning. So Umar said, "Allah's Book is sufficient for us," based on Allah's saying, "We have not neglected anything in the Book" [Anaam 6:38], and His saying, "Today I have completed your religion for you" [Maidah 5:3]. He thus understood that Allah had completed His religion, ensuring the community against misguidance, and he wanted to spare the Messenger of Allah ﷺ further exertion. So Umar was more understanding than Ibn Abbas and those who agreed with him.Khattabi said, It is not permissible to interpret Umar's statement as implying that he suspected the Messenger of Allah ﷺ might make an error, or that he thought anything else unbefitting of him in any way. Rather, when he saw the severe pain overwhelming the Messenger of Allah ﷺ, the nearness of his death, and the distress that had overtaken him, he feared that this statement might be something a sick person says without firm resolve behind it, which would give the hypocrites an opening to speak against the religion. His companions ﷺ used to consult him and raise objections on certain matters before he issued a decisive, binding ruling on them, just as they raised objections to him on the day of Hudaybiya regarding the dispute, and regarding the document of the treaty between him and Quraysh. But whenever the Prophet ﷺ commanded something as a firm, binding command, none of them would object to it.