Sayyiduna Wathilah bin al-Asqa' (may Allah be pleased with him) narrates from the Prophet (peace and blessings be upon him) that he said: "A woman takes three kinds of inheritance: that of her freed slave, that of the foundling child she took in, and that of her son over whom she underwent li'an."
Umar bin Ru'bah al-Taghlibi, narrating from Abdul Wahid al-Nasri, is questionable (fihi nazar).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الفرائض / 12498