Determining the intercourse associated with the foetus is completed because of the decree of Allaah, may He be exalted and glorified. The angel is commanded to publish it as Allaah willed in their decree from eternity. Allaah claims (interpretation for the meaning):
“To Allaah belongs the kingdom associated with heavens together with planet. He produces exactly exactly exactly what He wills. He bestows female (offspring) upon who He wills, and male that is bestowsoffspring) upon who He wills”
The one who wishes Allaah to bless him with righteous offspring must first avail himself associated with means, through getting hitched and intercourse that is having permissible methods. There’s nothing incorrect because of the a person who wishes their offspring to be man or woman availing himself for the means that have been proven by way of experience or tradition or modern technology.