[Machine] The Messenger of Allah ﷺ said that a will is not permissible for an heir unless the heirs agree to it. This is the opinion of Al-Khorasani, which Ibn Abbas did not know or see. Abu Dawood Al-Sijistani and others also narrated this hadith, but it is narrated from another angle through Ikrimah from Ibn Abbas.
قَالَ رَسُولُ اللهِ ﷺ لَا تَجُوزُ الْوَصِيَّةُ لِوَارِثٍ إِلَّا إِنْ شَاءَ الْوَرَثَةُ عَطَاءٌ هَذَا هُوَ الْخُرَاسَانِيُّ لَمْ يُدْرِكِ ابْنَ عَبَّاسٍ وَلَمْ يَرَهُ قَالَهُ أَبُو دَاوُدَ السِّجِسْتَانِيُّ وَغَيْرُهُ وَقَدْ رُوِيَ مِنْ وَجْهٍ آخَرَ عَنْهُ عَنْ عِكْرِمَةَ عَنِ ابْنِ عَبَّاسٍ