Sure An-Nisaa

4:33

وَلِكُلٍّۢ جَعَلْنَا مَوَٰلِىَ مِمَّا تَرَكَ ٱلْوَٰلِدَانِ وَٱلْأَقْرَبُونَ ۚ وَٱلَّذِينَ عَقَدَتْ أَيْمَٰنُكُمْ فَـَٔاتُوهُمْ نَصِيبَهُمْ ۚ إِنَّ ٱللَّهَ كَانَ عَلَىٰ كُلِّ شَىْءٍۢ شَهِيدًا

Einem jeden haben Wir Erbberechtigte bestimmt für das, was die Eltern und nächsten Verwandten hinterlassen. Denjenigen, mit denen eure rechte Hand eine Abmachung getroffen hat, gebt ihnen ihren Anteil. Allah ist über alles Zeuge.

Tafsir 4:33

For every one of you I have made relations to inherit from what parents and relatives leave in their inheritance; and for those who you have made a promise of allegiance with as an ally and helper, give them their share of the inheritance. I am a witness to everything, and I witness your oaths and promises. The ally inheriting was a ruling at the beginning of Islam, but this ruling was later replaced.