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." (ES)
English reference (ES): Vol. 4, Book 23, Hadith 2742 (ES)
Arabic reference (ES): Book 23, Hadith 2847 (ES)