Al-Hasan and Muhammad (may Allah have mercy on them both) said: If a slave woman miscarries a child by her master, she is free.