It is narrated from Imam al-Sha'bi (may Allah have mercy on him) that Sayyiduna Ali and Sayyiduna Zayd (may Allah be pleased with them both) used to make the nearest of the grandmothers heirs.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الفرائض / 12360