It is narrated from al-Harith (may Allah have mercy on him) that Sayyiduna Ali (may Allah be pleased with him) was asked about the inheritance of two paternal cousins, one of whom was also a brother through the mother. The people said: "Ibn Mas'ud (may Allah be pleased with him) gave all the wealth to him." He (may Allah be pleased with him) said: "May Allah have mercy on Ibn Mas'ud; he was truly a great jurist. But I will give him the share of a maternal half-brother on account of his mother, then divide the (remaining) wealth between the two of them."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 8447