[Machine] In His saying, "Allah instructs you concerning your children: for the male, what is equal to the share of two females" [Quran 4:11], it is mentioned that inheritance was for the child and the will was for the parents. So, Allah abrogated from that which He preferred and made the share of the male child equal to two females, and He made for the parents one-sixth each, and He made for the husband half or one-fourth, and He made for the wife one-fourth or one-eighth.
فِي قَوْلِهِ ﷻ {يُوصِيكُمُ اللهُ فِي أَوْلَادِكُمْ لِلذَّكَرِ مِثْلُ حَظِّ الْأُنْثَيَيْنِ} [النساء 11] قَالَ كَانَ الْمِيرَاثُ لِلْوَلَدِ وَكَانَتِ الْوَصِيَّةُ لِلْوَالِدَيْنِ فَنَسَخَ اللهُ مِنْ ذَلِكَ مَا أَحَبَّ فَجَعَلَ لِلْوَلَدِ الذَّكَرِ مِثْلَ حَظِّ الْأُنْثَيَيْنِ وَجَعَلَ لِلْوَالِدَيْنِ السُّدُسَيْنِ وَجَعَلَ لِلزَّوْجِ النِّصْفَ أَوِ الرُّبُعَ وَجَعَلَ لِلْمَرْأَةِ الرُّبُعَ أَوِ الثُّمُنَ