Hasan (may Allah have mercy on him) said: "If an umm walad gives birth to a living child, then her maintenance is from the share of that child." If she gives birth to a dead child, then all the wealth will be spent.
Hadith Referenceسنن سعید بن منصور / كتاب الطلاق / 2569
Hadith Takhrij«أخرجه سعيد بن منصور فى «سننه» ترقيم الدرالسلفية برقم:، 1387، 1392، وابن أبى شيبة فى «مصنفه» برقم: 19316، 19330»