4:12
وَ لَ كُمْ نِصْفُ مَا تَرَكَ أَزْوَٰجُ كُمْ إِن لَّمْ يَكُن لَّ هُنَّ وَلَدٌ فَ إِن كَانَ لَ هُنَّ وَلَدٌ فَ لَ كُمُ ٱل رُّبُعُ مِ مَّا تَرَكْ نَ مِنۢ بَعْدِ وَصِيَّةٍ يُوصِي نَ بِ هَآ أَوْ دَيْنٍ وَ لَ هُنَّ ٱل رُّبُعُ مِ مَّا تَرَكْ تُمْ إِن لَّمْ يَكُن لَّ كُمْ وَلَدٌ فَ إِن كَانَ لَ كُمْ وَلَدٌ فَ لَ هُنَّ ٱل ثُّمُنُ مِ مَّا تَرَكْ تُم مِّنۢ بَعْدِ وَصِيَّةٍ تُوصُ ونَ بِ هَآ أَوْ دَيْنٍ وَ إِن كَانَ رَجُلٌ يُورَثُ كَلَٰلَةً أَوِ ٱمْرَأَةٌ وَ لَ هُۥٓ أَخٌ أَوْ أُخْتٌ فَ لِ كُلِّ وَٰحِدٍ مِّنْ هُمَا ٱل سُّدُسُ فَ إِن كَانُ وٓا۟ أَكْثَرَ مِن ذَٰلِكَ فَ هُمْ شُرَكَآءُ فِى ٱل ثُّلُثِ مِنۢ بَعْدِ وَصِيَّةٍ يُوصَىٰ بِ هَآ أَوْ دَيْنٍ غَيْرَ مُضَآرٍّ وَصِيَّةً مِّنَ ٱللَّهِ وَ ٱللَّهُ عَلِيمٌ حَلِيمٌ
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 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 Allah, and Allah is Knowing and Forbearing.