It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) said: "A slave woman who becomes Umm Walad (the mother of her master's child) becomes free after the death of her master."
Hadith Referenceمسند احمد / ومن مسند بني هاشم / 2910
Hadith Gradingحکم دارالسلام:حسن، وهذا إسناد ضعيف، شريك سيئ الحفظ ، لكنه توبع، وحسين بن عبدالله ضعيف