Knowing the gender of the fetus

Q: There is a kind of a table circulated widely among women bearing the so-called Chinese Gender Prediction Calculator. It specifies whether the fetus is male or female through the age of the mother and the solar month in which conception took place (a copy of the paper is attached to the question). Is it possible for doctors to determine the gender of the fetus? What is the ruling on such and similar calculators? May Allah reward you with the best for benefiting Islam and Muslims.

A: No one but Allah (Glorified be He) can know the gender of the fetus before it is fully formed. However, after the fetus is fully formed, its gender can be identified through medical rays, something which Allah made within the boundaries of human capability.As for determining its gender through the calculator mentioned above, it is false and groundless as it involves claiming knowledge of the Ghayb (the Unseen), which is known only by Allah. Moreover, such a table has to be destroyed and its circulation among people has to be banned.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family and Companions.