Correct understanding about the verse which says only Allah عز وجل knows what is in the womb
January 23rd 2022
Question ID : 61ed938601f4ab24a026ab08
Question
Allah's Messenger (ﷺ) said, "The keys of the Unseen are five: Verily, Allah! With Him (Alone) is the knowledge of the Hour, He sends down the rain, and knows that which is in the wombs. No person knows what he will earn tomorrow, and no person knows in what land he will die. Verily, Allah is All-Knower, All-Aware." (V.31:34). [Sahih Al-Bukhari, 6/4627
So how can we combine between the fact that Allah عز وجل says He knows the sex of the fetus ( male or female ) and the fact that doctors can know the sex of the fetus while in the womb ?