This commentary covers verses 13:8 to 13:9.
Allah is All-Knower of Al-Ghayb (Unseen)
Allah affirms His perfect knowledge, from which nothing is hidden, and that He has complete knowledge of whatever every female creature is carrying,
وَيَعْلَمُ مَا فِى الاٌّرْحَامِ
(And He knows that which is in the wombs.)31:34, whether male or female, fair or ugly, miserable or happy, whether it will have a long or a short life. Allah said in other Ayat,
هُوَ أَعْلَمُ بِكُمْ إِذْ أَنشَأَكُمْ مِّنَ الاٌّرْضِ وَإِذْ أَنتُمْ أَجِنَّةٌ
(He knows you well when He created you from the earth, and when you were fetuses.)53:32, and,
يَخْلُقُكُمْ فِى بُطُونِ أُمَّهَـتِكُـمْ خَلْقاً مِّن بَعْدِ خَلْقٍ فِى ظُلُمَـتٍ ثَلَـثٍ
(He creates you in the wombs of your mother: creation after creation in three veils of darkness.)39:6 meaning stage after stage. Allah also said,
وَلَقَدْ خَلَقْنَا الإِنْسَـنَ مِن سُلَـلَةٍ مِّن طِينٍ - ثُمَّ جَعَلْنَـهُ نُطْفَةً فِى قَرَارٍ مَّكِينٍ - ثُمَّ خَلَقْنَا النُّطْفَةَ عَلَقَةً فَخَلَقْنَا الْعَلَقَةَ مُضْغَةً فَخَلَقْنَا الْمُضْغَةَ عِظَـماً فَكَسَوْنَا الْعِظَـمَ لَحْماً ثُمَّ أَنشَأْنَـهُ خَلْقاً ءَاخَرَ فَتَبَارَكَ اللَّهُ أَحْسَنُ الْخَـلِقِينَ
(And indeed We created man out of an extract of clay. Thereafter We made him as a Nutfah in a safe lodging. Then We made the Nutfah into a clot, then We made the clot into a little lump of flesh, then We made out of that little lump of flesh bones, then We clothed the bones with flesh, and then We brought it forth as another creation. So Blessed is Allah, the Best of creators.)23:12-14 In the two Sahihs it is recorded that `Abdullah bin Mas`ud said that the Messenger of Allah ﷺ said,
«إِنَّ خَلْقَ أَحَدِكُمْ يُجْمَعُ فِي بَطْنِ أُمِّهِ أَرْبَعِينَ يَوْمًا، ثُمَّ يَكُونُ عَلَقَةً مِثْلَ ذَلِكَ، ثُمَّ يَكُونُ مُضْغَةً مِثْلَ ذَلِكَ، ثُمَّ يَبْعَثُ اللهُ إِلَيْهِ مَلَكًا فَيُؤْمَرُ بِأَرْبَعِ كَلِمَاتٍ، بِكَتْبِ رِزْقِهِ، وَعُمْرِهِ، وَعَمَلِهِ، وَشَقِيٌّ أَوْ سَعِيد»
(The matter of the creation of one of you is put together in the womb of the mother in forty days, and then he becomes a clot of thick blood for a similar period, and then a piece of flesh for a similar period. Then Allah sends an angel who is ordered to write four things. He is ordered to write down his provisions, his life span, his deeds, and whether he will be blessed or wretched.") In another Hadith, the Prophet said,
«فَيَقُولُ الْمَلَكُ: أَيْ رَبِّ أَذَكَرٌ أَمْ أُنْثَى؟ أَيْ رَبِّ أَشَقِيٌّ أَمْ سَعِيدٌ؟ فَمَا الرِّزْقٌ؟ فَمَا الْأَجَلُ؟ فَيَقُولُ اللهُ: وَيَكْتُبُ الْمَلَك»
(Then the angel asks, "O my Lord! Is it a male or a female, miserable or happy, what is its provisions and life span" Allah then ordains and the angel records it.) Allah said next,
وَمَا تَغِيضُ الاٌّرْحَامُ وَمَا تَزْدَادُ
(and by how much the wombs fall short or exceed.) Al-Bukhari recorded that `Abdullah bin `Umar said that the Messenger of Allah ﷺ said,
«مَفَاتِيحُ الْغَيْبِ خَمْسٌ، لَا يَعْلَمُهُ…