It wasnarrated from Wathilah bin Asqa' that the Prophet (ﷺ) said:
"Awoman may get three types of inheritance: From her freed slavewoman,a foundling whom she raised, and her child concerning whom shesworein Li'an that he was legitimate." (DE)
English reference (DE): Vol. 4, Book 23, Hadith 2742 (DE)
Arabic reference (DE): Book 23, Hadith 2847 (DE)