Scholars agree it is forbidden after the soul is breathed into the child (taught to be 120 days) unless the mother's life is in danger. Before that, they differ: some forbid it unless there is a real need, and others allow it for a valid reason before 40 days. The Quran forbids killing children (17:31, 6:151). Ask a scholar and a trusted doctor.
کہہ کہ (لوگو) آؤ میں تمہیں وہ چیزیں پڑھ کر سناؤں جو تمہارے پروردگار نے تم پر حرام کر دی ہیں (ان کی نسبت اس نے اس طرح ارشاد فرمایا ہے) کہ کسی چیز کو خدا کا شریک نہ بنانا اور ماں باپ (سے بدسلوکی نہ کرنا بلکہ) سلوک کرتے رہنا اور ناداری (کے اندیشے) سے اپنی اولاد کو قتل نہ کرنا کیونکہ تم کو اور ان کو ہم ہی رزق دیتے ہیں اور بےحیائی کے کام ظاہر ہوں یا پوشیدہ ان کے پاس نہ پھٹکنا اور کسی جان (والے) کو جس کے قتل کو خدا نے حرام کر دیا ہے قتل نہ کرنا مگر جائز طور پر (یعنی جس کا شریعت حکم دے) ان باتوں کا وہ تمہیں ارشاد فرماتا ہے تاکہ تم سمجھو
This is general information, not a fatwa. For your own situation, ask a qualified scholar.
Questions about halal and haram
Is abortion permitted?
Scholars agree it is forbidden after the soul is breathed into the child (taught to be 120 days) unless the mother's life is in danger. Before that, they differ: some forbid it unless there is a real need, and others allow it for a valid reason before 40 days. The Quran forbids killing children (17:31, 6:151). Ask a scholar and a trusted doctor.