Question
What is the ruling on couples determining the gender of their child through procedures or by doctors by isolating male sperm from female sperm for the purpose of having boys for those who desire boys or having girls for those who desire girls?
Answer
I say, and with God's success: It is permissible if there is no harm, exposure of private parts, or mixing of lineage. It is preferable to leave the matter to God's decree and to engage in what benefits a person in their hereafter. And God knows best.