Sahih al-Bukhari 7366
Narrated Ibn 'Abbas:
When the time of the death of the Prophet approached while there were some men in the house, and among them was 'Umar bin Al-Khatttab, the Prophet ﷺ said, "Come near let me write for you a writing after which you will never go astray." 'Umar said, "The Prophet is seriously ill, and you have the Quran, so Allah's Book is sufficient for us." The people in the house differed and disputed. Some of them said, "Come near so that Allah's Apostle may write for you a writing after which you will not go astray," while some of them said what 'Umar said. When they made much noise and differed greatly before the Prophet, he said to them, "Go away and leave me." Ibn 'Abbas used to say, "It was a great disaster that their difference and noise prevented Allah's Apostle from writing that writing for them.
حَدَّثَنَا إِبْرَاهِيمُ بْنُ مُوسَى، أَخْبَرَنَا هِشَامٌ، عَنْ مَعْمَرٍ، عَنِ الزُّهْرِيِّ، عَنْ عُبَيْدِ اللَّهِ بْنِ عَبْدِ اللَّهِ، عَنِ ابْنِ عَبَّاسٍ، قَالَ لَمَّا حُضِرَ النَّبِيُّ ﷺ ـ قَالَ وَفِي الْبَيْتِ رِجَالٌ فِيهِمْ عُمَرُ بْنُ الْخَطَّابِ ـ قَالَ " هَلُمَّ أَكْتُبْ لَكُمْ كِتَابًا لَنْ تَضِلُّوا بَعْدَهُ ". قَالَ عُمَرُ إِنَّ النَّبِيَّ ﷺ غَلَبَهُ الْوَجَعُ وَعِنْدَكُمُ الْقُرْآنُ، فَحَسْبُنَا كِتَابُ اللَّهِ. وَاخْتَلَفَ أَهْلُ الْبَيْتِ وَاخْتَصَمُوا، فَمِنْهُمْ مَنْ يَقُولُ قَرِّبُوا يَكْتُبْ لَكُمْ رَسُولُ اللَّهِ ﷺ كِتَابًا لَنْ تَضِلُّوا بَعْدَهُ. وَمِنْهُمْ مَنْ يَقُولُ مَا قَالَ عُمَرُ، فَلَمَّا أَكْثَرُوا اللَّغَطَ وَالاِخْتِلاَفَ عِنْدَ النَّبِيِّ ﷺ قَالَ " قُومُوا عَنِّي ". قَالَ عُبَيْدُ اللَّهِ فَكَانَ ابْنُ عَبَّاسٍ يَقُولُ إِنَّ الرَّزِيَّةَ كُلَّ الرَّزِيَّةِ مَا حَالَ بَيْنَ رَسُولِ اللَّهِ ﷺ وَبَيْنَ أَنْ يَكْتُبَ لَهُمْ ذَلِكَ الْكِتَابَ مِنِ اخْتِلاَفِهِمْ وَلَغَطِهِمْ.