Sahih al-Bukhari 4432
Narrated Ubaidullah bin `Abdullah:
Ibn `Abbas said, "When Allah's Messenger (ﷺ) was on his deathbed and there were some men in the house, 
he said, 'Come near, I will write for you something after which you will not go astray.' Some of them ( 
i.e. his companions) said, 'Allah's Messenger (ﷺ) is seriously ill and you have the (Holy) Qur'an. Allah's 
Book is sufficient for us.' So the people in the house differed and started disputing. Some of them said, 
'Give him writing material so that he may write for you something after which you will not go astray.' 
while the others said the other way round. So when their talk and differences increased, Allah's 
Apostle said, "Get up." Ibn `Abbas used to say, "No doubt, it was very unfortunate (a great disaster) 
that Allah's Messenger (ﷺ) was prevented from writing for them that writing because of their differences and 
noise."
حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ اللَّهِ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، أَخْبَرَنَا مَعْمَرٌ، عَنِ الزُّهْرِيِّ، عَنْ عُبَيْدِ اللَّهِ بْنِ عَبْدِ اللَّهِ بْنِ عُتْبَةَ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ قَالَ لَمَّا حُضِرَ رَسُولُ اللَّهِ صلى الله عليه وسلم وَفِي الْبَيْتِ رِجَالٌ، فَقَالَ النَّبِيُّ صلى الله عليه وسلم ‏"‏ هَلُمُّوا أَكْتُبْ لَكُمْ كِتَابًا لاَ تَضِلُّوا بَعْدَهُ ‏"‏‏.‏ فَقَالَ بَعْضُهُمْ إِنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَدْ غَلَبَهُ الْوَجَعُ وَعِنْدَكُمُ الْقُرْآنُ، حَسْبُنَا كِتَابُ اللَّهِ‏.‏ فَاخْتَلَفَ أَهْلُ الْبَيْتِ وَاخْتَصَمُوا، فَمِنْهُمْ مَنْ يَقُولُ قَرِّبُوا يَكْتُبُ لَكُمْ كِتَابًا لاَ تَضِلُّوا بَعْدَهُ‏.‏ وَمِنْهُمْ مَنْ يَقُولُ غَيْرَ ذَلِكَ، فَلَمَّا أَكْثَرُوا اللَّغْوَ وَالاِخْتِلاَفَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ قُومُوا ‏"‏‏.‏ قَالَ عُبَيْدُ اللَّهِ فَكَانَ يَقُولُ ابْنُ عَبَّاسٍ إِنَّ الرَّزِيَّةَ كُلَّ الرَّزِيَّةِ مَا حَالَ بَيْنَ رَسُولِ اللَّهِ صلى الله عليه وسلم وَبَيْنَ أَنْ يَكْتُبَ لَهُمْ ذَلِكَ الْكِتَابَ لاِخْتِلاَفِهِمْ وَلَغَطِهِمْ‏.‏