When the Prophet's ﷺ illness grew severe, he said, "Bring me writing materials so I may write for you a document after which you will never go astray."Umar said, "The pain has overwhelmed the Prophet ﷺ. We have the Book of Allah, which is sufficient for us."The people then disagreed and the clamor grew loud, so the Prophet ﷺ said, "Leave me. It is not fitting that there be dispute in my presence."Ibn Abbas went out saying, "The true calamity, the greatest calamity, is what came between the Messenger of Allah ﷺ and his writing of that document."
لما اشتد بالنبي ﷺ وجعه قال: ائتوني بكتاب أكتب لكم كتابا لا تضلوا بعده. قال عمر: إن النبي ﷺ غلبه الوجع، وعندنا كتاب الله حسبنا، فاختلفوا وكثر اللغط، قال: قوموا عني، ولا ينبغي عندي التنازع فخرج ابن عباس يقول: إن الرزية كل الرزية ما حال بين رسول الله ﷺ وبين كتابه.
Bukhari narrated it in the Book of Knowledge (114), from Yahya bin Sulayman, who said, Ibn Wahb told me, Yunus informed me, from Ibn Shihab, from Ubaydullah bin Abdullah, from Ibn Abbas, and he mentioned it.Muslim also narrated it in the Book of Wills (1637), through another route from Ibn Abbas, which will come in its place, and it contains additions.