An-Nisa 4:12
۞ وَلَكُمْ نِصْفُ مَا تَرَكَ أَزْوَٰجُكُمْ إِن لَّمْ يَكُن لَّهُنَّ وَلَدٌ ۚ فَإِن كَانَ لَهُنَّ وَلَدٌ فَلَكُمُ ٱلرُّبُعُ مِمَّا تَرَكْنَ ۚ مِنۢ بَعْدِ وَصِيَّةٍ يُوصِينَ بِهَآ أَوْ دَيْنٍ ۚ وَلَهُنَّ ٱلرُّبُعُ مِمَّا تَرَكْتُمْ إِن لَّمْ يَكُن لَّكُمْ وَلَدٌ ۚ فَإِن كَانَ لَكُمْ وَلَدٌ فَلَهُنَّ ٱلثُّمُنُ مِمَّا تَرَكْتُم ۚ مِّنۢ بَعْدِ وَصِيَّةٍ تُوصُونَ بِهَآ أَوْ دَيْنٍ ۗ وَإِن كَانَ رَجُلٌ يُورَثُ كَلَـٰلَةً أَوِ ٱمْرَأَةٌ وَلَهُۥٓ أَخٌ أَوْ أُخْتٌ فَلِكُلِّ وَٰحِدٍ مِّنْهُمَا ٱلسُّدُسُ ۚ فَإِن كَانُوٓا۟ أَكْثَرَ مِن ذَٰلِكَ فَهُمْ شُرَكَآءُ فِى ٱلثُّلُثِ ۚ مِنۢ بَعْدِ وَصِيَّةٍ يُوصَىٰ بِهَآ أَوْ دَيْنٍ غَيْرَ مُضَآرٍّ ۚ وَصِيَّةً مِّنَ ٱللَّهِ ۗ وَٱللَّهُ عَلِيمٌ حَلِيمٌ
Walakum nisfu ma taraka azwajukumin lam yakun lahunna waladun fa-in kana lahunna waladunfalakumu arrubuAAu mimma tarakna min baAAdi wasiyyatinyooseena biha aw daynin walahunna arrubuAAumimma taraktum in lam yakun lakum waladun fa-in kanalakum waladun falahunna aththumunu mimma taraktummin baAAdi wasiyyatin toosoona biha awdaynin wa-in kana rajulun yoorathu kalalatan awiimraatun walahu akhun aw okhtun falikulli wahidin minhumaassudusu fa-in kanoo akthara min thalikafahum shurakao fee aththuluthi min baAAdi wasiyyatinyoosa biha aw daynin ghayra mudarrin wasiyyatanmina Allahi wallahu AAaleemun haleem
And for you is half of what your wives leave if they have no child. But if they have a child, for you is one fourth of what they leave, after any bequest they [may have] made or debt. And for them [i.e., the wives] is one fourth if you leave no child. But if you leave a child, then for them is an eighth of what you leave, after any bequest you [may have] made or debt. And if a man or woman leaves neither ascendants nor descendants but has a brother or a sister, then for each one of them is a sixth. But if they are more than two, they share a third, after any bequest which was made or debt, as long as there is no detriment [caused]. [This is] an ordinance from Allāh, and Allāh is Knowing and Forbearing.
For you there is one-half of what your wives leave behind, in case they have no child. But, if they have a child, you get one-fourth of what they leave, after (settling) the will they might have made, or a debt. For them (the wives) there is one-fourth of what you leave behind, in case you have no child. But, if you have a child, they get one eighth of what you leave, after (settling) the will you might have made, or a debt. And if a man or a woman is Kalālah (i.e. has neither parents alive, nor children) and has a brother or a sister, then each one of them will get one-sixth. However, if they are more than that, they will be sharers in one-third, after (settling) the will that might have been made, or a debt, provided that the will must not be intended to harm anyone. This is a direction from Allah. Allah is All-Knowing, Forbearing.