Also at the end of the third verse (60), in: وَهُوَ الْعَزِيزُ الْحَكِيمُ (And He is the Mighty, the Wise), there is a hint that taking the birth of a baby girl to be nuisance and disgrace, and hiding from people because of it, amount to challenging Divine wisdom - as the creation of male and female among the created is the very requisite of wisdom. (Ruh a1-Bayan)
Ruling:
Clear indications are visible in these verses that taking the birth of a girl in the family to be a disaster or disgrace is not permissible under Islam. This is done by disbelievers. Quoting Shr'ah (شرعہ ) Tafsir Ruh al-Bayan also says that a Muslim should be happier at the birth of a girl in the family so that it becomes a refutation of the act of the people of Ja-hiliyyah. Says a Hadith: Blessed is the woman who gives birth to a girl in her first pregnancy. That the Arabic word: اِنَاث (inath: females) has been made to precede the word for 'males' in the verse of the Qur’ an: وَيَهَبُ لِمَن يَشَاءُ الذُّكُورَ (He bestows on whomsoever He wills females and bestows on whomsoever He wills males - 42:49) indicates that the birth of a girl from the first pregnancy is better.[
In another Hadith, it is said: Whoever finds any of such girls en-trusted to his care, and he treats them fairly and favourably, then, these girls will stand as a curtain between him and Hell. (Ruh al-Bayan)
To sum up, it can be said that taking the birth of a girl to be bad is a detestable custom of the pagan period. Muslims must abstain from it. In fact, they should be pleased and satisfied with the promise of Allah against it. Allah knows best.