Al-Sha'bi (may Allah have mercy on him) said: The matter on which Ali, Abdullah and Zayd (may Allah be pleased with them) differed is this: two daughters, a son's son and a son's daughter. According to the view of Ali and Zayd (may Allah be pleased with them both), the two daughters get two-thirds and what remains is divided between the son's son and the son's daughter according to "for the male the like of the share of two females" [Surah al-Nisa: 11]. According to the view of Abdullah bin Mas'ud (may Allah be pleased with him), the two daughters get two-thirds and the remainder goes to the male, not the female, because he did not hold that daughters get more than two-thirds.
A daughter, a son's daughter and a son's son: according to the view of Ali and Zayd (may Allah be pleased with them both), the daughter gets a half and what remains is between the son's son and the son's daughters according to "for the male the like of the share of two females" [Surah al-Nisa: 11]. According to the view of Ibn Mas'ud (may Allah be pleased with him), the daughter gets a half, the son's daughters get what completes the two-thirds, and what remains is for the son's son.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الفرائض / 12316