Hadith 2906
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.
Hadith 2907
Narrated Makhul: The Messenger of Allah ﷺ assigned the estate of a child of a woman about whom she had invoked a curse to her mother, and to her heirs after her.
Hadith 2908
Narrated Amr bin Shuaib: On his father's authority, said that his grandfather reported from the Prophet ﷺ something similar.