Sunan Abu Dawud
2906
Daif+3

Narrated Wathilah ibn al-Asqa': The Prophet (ﷺ) said: A woman gets inheritance from the three following: one she has set free, a foundling, and her child about whom she has invoked a curse on herself if she was untrue in declaring he was not born out of wedlock

DaifAl-Albani
DaifMuhammad Muhyi Al-Din Abdul Hamid