Ikrimah narrates from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that when Mariyah (may Allah be pleased with her) gave birth, the Messenger of Allah (peace and blessings be upon him) said: "Her child has set her free."
Ali (al-Daraqutni) said: Ziyad bin Ayyub alone narrated the hadith of Ibn Abi Husayn, and Ziyad is thiqah (trustworthy); but the hadith of Ikrimah has a strange hidden defect, with an authentic chain to him.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب المكاتب / 21784