English translation
2890. It was reported from Huzail bin Shuraḥbil Al-Awdī who said: "A man came to Abū Mūsā Al-Ash'arī and Salmān bin Rabī'ah and asked them about (the case where a person dies and leaves behind) a daughter, a son's daughter, and a sister from the father and the mother. They replied: 'His daughter gets half, and the sister from the father and mother gets half' — and they did not allot any inheritance to the son's daughter — 'Go to Ibn Mas'ūd and you will see that he agrees with me.' So the man came to him and asked him, and told him of their saying. He replied: 'I would be misguided then, not among those who are guided. Rather, I am going to decide on the matter according to the decision of the Messenger of Allāh ﷺ: For the daughter; half, and the son's daughter gets one share, which completes two-thirds, and what remains goes to the sister from the father and the mother."
(Sahih)
Arabic text
2890 - حَدَّثَنَا عَبْدُ اللَّهِ بْنُ عَامِرِ بْنِ زُرَارَةَ، حَدَّثَنَا عَلِيُّ بْنُ مُسْهِرٍ، عَنِ الْأَعْمَشِ، عَنْ أَبِي قَيْسٍ الْأَوْدِيِّ، عَنْ هُزَيْلِ بْنِ شُرَحْبِيلَ الْأَوْدِيِّ، قَالَ: جَاءَ رَجُلٌ إِلَى أَبِي مُوسَى الْأَشْعَرِيِّ، وَسَلْمَانَ بْنِ رَبِيعَةَ فَسَأَلَهُمَا، عَنِ ابْنَةٍ، وَابْنَةِ ابْنٍ، وَأُخْتٍ لِأَبٍّ وَأُمٍّ، فَقَالَا: وَلِلْأُخْتِ مِنَ الْأَبِ، وَالْأُمِّ النِّصْفُ، وَلَمْ يُوَرِّثَا ابْنَةَ الِابْنِ شَيْئًا، وَأْتِ ابْنَ مَسْعُودٍ، فَإِنَّهُ سَيُتَابِعُنَا، فَأَتَاهُ الرَّجُلُ فَسَأَلَهُ وَأَخْبَرَهُ بِقَوْلِهِمَا، فَقَالَ: لَقَدْ ضَلَلْتُ إِذًا وَمَا أَنَا مِنَ الْمُهْتَدِينَ، وَلَكِنِّي سَأَقْضِي فِيهَا بِقَضَاءِ النَّبِيِّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ «لِابْنَتِهِ النِّصْفُ، وَلِابْنَةِ الِابْنِ سَهْمٌ تَكْمِلَةُ الثُّلُثَيْنِ، وَمَا بَقِيَ فَلِلْأُخْتِ مِنَ الْأَبِ وَالْأُمِّ»