Ref. No. 978/4-138
In the name of Allah the most Gracious the most Merciful
The answer to your question is as follows:
Islam urges Muslims to acquire the knowledge of medicines and drugs to protect the living body from diseases. Ulama, due to its importance, regarded it as Farze Kifaya.
Muslim societies are without doubt in dire need of Muslim lady doctors for checkups and treatments. Muslim woman who observe parda and have never been open to strangers, hesitate to visit the male doctors and feel very shy to express their private problems to them, and indeed it is due to their modesty. Hence, Muslim women’s interest in attaining medicine knowledge meets a big objective of shariah and it is highly admirable in shariah.
You can choose whatever is more convenient to you. But before proceeding to become an obstetrician and gynecologist, you must know that there are some shariah rules about abortion.
Conducting an abortion may be permissible before the fetus has reached 120 days only when a trustworthy physician decides that the continuation of pregnancy poses risk to the mother's life or health. Thereupon, it is permissible to conduct an abortion to preserve the mother's life. However in the case the fetus has reached 120 days, it is not permissible to conduct an abortion even if it is medically diagnosed with congenital defects. Conducting an abortion when the age of the fetus has reached 120 days is considered killing a soul which Allah has forbidden in the Holy Quran. Killing a soul without right is absolutely a grave sin and both parties could be sinner.
ان احدکم یجمع فی بطن امہ اربعین یوما ثم علقۃ مثل ذلک ثم یکون مضغۃ مثل ذلک ثم یبعث اللہ ملکا فیومر باربع برزقہ واجلہ وشقی او سعید (بخاری شریف)۔
ھل یباح الاسقاط بعد الحبل یباح مالم یتخلق شیئ منہ ثم فی غیر موضع ولایکون ذلک الا بعد مائۃ وعشرین یوما انھم ارادوا بالتخلیق نفخ الروح (کذا فی الشامی و فتح القدیر)
And Allah knows best
Darul Uloom Waqf Deoband