Is it permissible to choose the baby's gender during IVF?
Health & MedicineQ&A answerQ&AQ&A With Shaykh YQ1 Sept 2021unrh_YdwvL4The video starts at 15:55, where this question begins.
The question as asked During the IVF process, the doctors told a brother that they can choose the gender of the baby he wants. They are going to be checking the sperm anyway for vitality, so it makes no difference to them; if he wants, they can select the gender. Is this permissible?
The answer
The last point in this Q&A, as for choosing the gender of the child: the fatwa of the Islamic Fiqh Academy says that it is not to be encouraged, and that it is really not desirable to open up this door, but that in and of itself it is not sinful, as long as one is not doing it for the jahili mentality of preferring sons over daughters, because you think that the daughters will not bring blessings or whatnot. As long as it's not done with that jahili mentality... No, you want a son for reasons that are halal, a daughter for reasons that are halal, without looking down at the other gender, that "Oh, this is superiority," the way that the Jahili Arabs did.
And of course this opens up a gray area: what if this, what if that. But overall, if your niyyah for choosing the gender is pure, then the fatwa says that it is not sinful; it is makruh, it is best to avoid. And I would definitely say we should not open this door, and rather let Allah 'Azza wa Jall's qadr choose for you, for what Allah chooses will be best for you.
An edited transcript of the video, lightly cleaned up for reading. The video is the source; if the text and the video differ, the video is correct.
Related questions
Is IVF permissible in Islam, and what conditions do the fiqh councils set for it?
Is IVF permissible for a couple who already have children but can no longer conceive naturally?
Can a widow use her late husband's frozen sperm for IVF while she is still in her 'iddah?
Is it permissible to use a donor egg, donor sperm or another woman's womb in IVF?
We can't have children: are we allowed to use alternative methods like IVF?
Is in vitro fertilization (IVF) permissible for a married couple struggling to conceive?
Is brain death equal to real death, and must Muslims refuse hearts from brain-dead donors?
Is it permissible to take a parent off a ventilator or life support?