It is reported from al-Sha'bi that Sayyiduna Ali and Zayd bin Thabit (may Allah be pleased with them both) used to make three grandmothers heirs: two from the father's side and one from the mother's side.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الفرائض / 12352