صحيح البخاري Sahih Bukhari كتاب الوصايا The Book of Wasaya (Wills and Testaments)
بَابُ لاَ وَصِيَّةَ لِوَارِثٍ:

(6) Chapter. A legal heir has no right to inherit through a will.

1 hadith
Hadith 2747
حَدَّثَنَا مُحَمَّدُ بْنُ يُوسُفَ ، عَنْ وَرْقَاءَ ، عَنْ ابْنِ أَبِي نَجِيحٍ ، عَنْ عَطَاءٍ ، عَنْ ابْنِ عَبَّاسٍ رَضِيَ اللَّهُ عَنْهُمَا ، قَالَ : " كَانَ الْمَالُ لِلْوَلَدِ ، وَكَانَتِ الْوَصِيَّةُ لِلْوَالِدَيْنِ ، فَنَسَخَ اللَّهُ مِنْ ذَلِكَ مَا أَحَبَّ ، فَجَعَلَ لِلذَّكَرِ مِثْلَ حَظِّ الْأُنْثَيَيْنِ ، وَجَعَلَ لِلْأَبَوَيْنِ لِكُلِّ وَاحِدٍ مِنْهُمَا السُّدُسَ ، وَجَعَلَ لِلْمَرْأَةِ الثُّمُنَ وَالرُّبُعَ ، وَلِلزَّوْجِ الشَّطْرَ وَالرُّبُعَ " .
Narrated Ibn `Abbas: The custom (in old days) was that the property of the deceased would be inherited by his offspring; as for the parents (of the deceased), they would inherit by the will of the deceased. Then Allah cancelled from that custom whatever He wished and fixed for the male double the amount inherited by the female, and for each parent a sixth (of the whole legacy) and for the wife an eighth or a fourth and for the husband a half or a fourth.
Hadith Reference Sahih Bukhari / The Book of Wasaya (Wills and Testaments) / Hadith: 2747
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة