When Messenger of Allah ﷺ was on his death-bed and in the house there were some people among whom was ʿUmar bin Al-Khattab, the Prophet ﷺ said, "Come, let me write for you a statement after which you will not go astray." ʿUmar said, "The Prophet ﷺ is seriously ill and you have the Qur'an; so the Book of Allah is enough for us." The people present in the house differed and quarrelled. Some said "Go near so that the Prophet ﷺ may write for you a statement after which you will not go astray," while the others said as ʿUmar said. When they caused a hue and cry before the Prophet, Messenger of Allah ﷺ said, "Go away!" Narrated 'Ubaidullah: Ibn ʿAbbas used to say, "It was very unfortunate that Messenger of Allah ﷺ was prevented from writing that statement for them because of their disagreement and noise." (Using translation from Bukhārī 5669)
لَمَّا حَضَرَ رَسُولُ اللهِ ﷺ وَفِي الْبَيْتِ رِجَالٌ فِيهِمْ عُمَرُ بْنُ الْخَطَّابِ فَقَالَ رَسُولُ اللهِ ﷺ «هَلُمَّ أَكْتُبُ لَكُمْ كِتَابًا لَنْ تَضِلُّوا بَعْدَهُ أَبَدًا» فَقَالَ عُمَرُ إِنَّ رَسُولَ اللهِ ﷺ قَدْ غَلَبَ عَلَيْهِ الْوَجَعُ وَعِنْدَكُمُ الْقُرْآنُ حَسْبُنَا كِتَابُ اللهِ فَاجْتَمَعُوا فِي الْبَيْتِ فَقَالَ قَوْمٌ قَرِّبُوا يَكْتُبُ لَكُمْ كِتَابًا لَنْ تَضِلُّوا بَعْدَهُ أَبَدًا وَقَالَ قَوْمٌ مَا قَالَ عُمَرُ فَلَمَّا أَكْثَرُوا اللَّغَطَ وَالِاخْتِلَافَ عِنْدَ رَسُولِ اللهِ ﷺ قَالَ لَهُمْ «قُومُوا» قَالَ عُبَيْدُ اللهِ فَكَانَ ابْنُ عَبَّاسٍ يَقُولُ الرَّزِيَّةُ كُلُّ الرَّزِيَّةِ مَا فَاتَ مِنَ الْكِتَابِ الَّذِي أَرَادَ رَسُولُ اللهِ ﷺ أَنْ يَكْتُبَ أَنْ لَا يَضِلُّوا بَعْدَهُ أَبَدًا لَمَّا كَثُرَ لَغَطُهُمْ وَاخْتِلَافُهُمْ