When the Messenger of Allah ﷺ was approaching death, there were some men in the house, among them Umar bin Khattab. The Prophet ﷺ said, "Come, let me write for you a document after which you will never go astray."Umar said, "The Prophet ﷺ is overcome by pain, and you have the Quran. The Book of Allah is enough for us."The people in the house disagreed and quarreled. Some of them said, "Come close so the Prophet ﷺ can write for you a document after which you will never go astray." Others said what Umar had said. When their noise and disagreement increased in the presence of the Prophet ﷺ, the Messenger of Allah ﷺ said, "Get up and leave."Ubaydullah said that Ibn Abbas used to say, "The real calamity, the entire calamity, was what came between the Messenger of Allah ﷺ and his writing that document for them, because of their disagreement and clamor."
حدثنا إبراهيم بن موسى حدثنا هشام عن معمر و حدثني عبد الله بن محمد حدثنا عبد الرزاق أخبرنا معمر عن الزهري عن عبيد الله بن عبد الله
لما حضر رسول الله ﷺ وفي البيت رجال فيهم عمر بن الخطاب قال النبي ﷺ هلم أكتب لكم كتابا لا تضلوا بعده فقال عمر إن النبي ﷺ قد غلب عليه الوجع وعندكم القرآن حسبنا كتاب الله فاختلف أهل البيت فاختصموا منهم من يقول قربوا يكتب لكم النبي ﷺ كتابا لن تضلوا بعده ومنهم من يقول ما قال عمر فلما أكثروا اللغو والاختلاف عند النبي ﷺ قال رسول الله ﷺ قوموا قال عبيد الله فكان ابن عباس يقول إن الرزية كل الرزية ما حال بين رسول الله ﷺ وبين أن يكتب لهم ذلك الكتاب من اختلافهم ولغطهم