Huzayll bin Shurahbil reported,

A man came to Abu Musa Ashari and Salman bin Rabia al-Bahili and asked them about the inheritance of a daughter, a son's daughter, and a full sister.They said, "The daughter receives half, and what remains goes to the sister. Go to Ibn Masud, and he will agree with us."The man went to Ibn Masud, asked him, and told him what the other two had said.Abdullah said, "If I ruled that way, I would be misguided and not among the rightly guided. I will judge by what the Messenger of Allah ﷺ judged. The daughter receives half, the son's daughter receives a sixth to complete two-thirds, and what remains goes to the sister."

Ibn Majah 2721

Sahih

حدثنا علي بن محمد حدثنا وكيع حدثنا سفيان عن أبي قيس الأودي

عن الهزيل بن شرحبيل قال

جاء رجل إلى أبي موسى الأشعري وسلمان بن ربيعة الباهلي فسألهما عن ابنة وابنة ابن وأخت لأب وأم فقالا للابنة النصف وما بقي فللأخت وائت ابن مسعود فسيتابعنا فأتى الرجل ابن مسعود فسأله وأخبره بما قالا فقال عبد الله قد ضللت إذا وما أنا من المهتدين ولكني سأقضي بما قضى به رسول الله ﷺ للابنة النصف ولابنة الابن السدس تكملة الثلثين وما بقي فللأخت

ابن ماجه 2721صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Obligatory duties
Chapter
Shares of direct descendants
Numbering
Darussalam 2721
Ibn Majah 2721