It is narrated from Ibrahim, may Allah have mercy on him, that Sayyiduna Abdullah bin Mas'ud, may Allah be pleased with him, said regarding a daughter and a granddaughter: Half (is for the daughter) and one-sixth (is for the granddaughter), and whatever remains should be returned to the daughter.
It is narrated from Alqamah that a case regarding maternal brothers and the mother was brought to Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him). He gave one-third to the maternal brothers, and the rest of the wealth to the mother, and said: Whoever (among the deceased's heirs) has no 'Asabah (male agnatic heir), the mother will be considered his 'Asabah.
حَدَّثَنَا أَبُو نُعَيْمٍ، حَدَّثَنَا حَسَنٌ، عَنْ أَبِيهِ، قَالَ: سَأَلْتُ الشَّعْبِيَّ عَنْ رَجُلٍ مَاتَ وَتَرَكَ ابْنَتَهُ، لَا يُعْلَمُ لَهُ وَارِثٌ غَيْرُهَا، قَالَ: "لَهَا الْمَالُ كُلُّهُ".
Hasan (bin Salih bin Muslim) narrated from his father that he asked Imam Amir al-Sha'bi, may Allah have mercy on him: A man died and left his daughter, and no other heir is known? He said: All the wealth will go to the daughter.
It is narrated from Imam Sha’bi (may Allah have mercy on him) that Sayyiduna Ibn Mas’ud (may Allah be pleased with him) would not return the remainder of the inheritance to the maternal brother along with the mother, nor would he return the remainder of the wealth to the grandmother when there was a rightful heir present with her, nor would he return the remainder to the granddaughter when the real daughter was present, nor would he return it to the wife or husband. And Sayyiduna Ali (may Allah be pleased with him) would return the remainder to every rightful heir except the wife and husband.
Kharijah bin Zaid said: A case regarding a daughter or a sister was brought to our master Zaid bin Thabit (may Allah be pleased with him), so he gave her half, and deposited the remaining half in the treasury (Bayt al-Mal). And this narration has also been reported by Yazid bin Harun from Muhammad bin Salim, from Sha'bi, from Kharijah (bin Zaid).