Riab bin Hudhayfah married a woman who bore him three sons, then their mother died. They inherited from her her dwellings and the patronage rights over her freed slaves. Amr bin As was the paternal kinsman of her sons, and he took them out to Syria, where they died.Amr bin As then arrived, and a freed slave of hers died leaving behind some property. Her brothers disputed with him before Umar bin Khattab. Umar said, "The Messenger of Allah ﷺ said, 'Whatever a child or a parent acquires belongs to his paternal kinsmen, whoever they may be.'"So he wrote a document for him in which Abdul-Rahman bin Awf, Zayd bin Thabit, and another man bore witness.When Abdul-Malik became caliph, they brought their dispute before Hisham bin Ismail, or before Ismail bin Hisham, who referred them to Abdul-Malik. He said, "This is a kind of ruling I had not previously held."He then ruled in our favor based on the document of Umar bin Khattab, and we have held that right up to this very moment.
حدثنا عبد الله بن عمرو بن أبي الحجاج أبو معمر حدثنا عبد الوارث عن حسين المعلم
أن رئاب بن حذيفة تزوج امرأة فولدت له ثلاثة غلمة فماتت أمهم فورثوها رباعها وولاء مواليها وكان عمرو بن العاص عصبة بنيها فأخرجهم إلى الشام فماتوا فقدم عمرو بن العاص ومات مولى لها وترك مالا له فخاصمه إخوتها إلى عمر بن الخطاب فقال عمر قال رسول الله ﷺ ما أحرز الولد أو الوالد فهو لعصبته من كان قال فكتب له كتابا فيه شهادة عبد الرحمن بن عوف وزيد بن ثابت ورجل آخر فلما استخلف عبد الملك اختصموا إلى هشام بن إسمعيل أو إلى إسمعيل بن هشام فرفعهم إلى عبد الملك فقال هذا من القضاء الذي ما كنت أراه قال فقضى لنا بكتاب عمر بن الخطاب فنحن فيه إلى الساعة
Its isnad is hasan. Tirmidhi narrated it in the chapter on inheritance, in the section on what has been reported regarding the inheritance of a man who embraces Islam at the hands of another man, hadith 2112, and Ibn Majah, hadith 2752, from the hadith of Abdul-Aziz bin Umar as narrated here. Bukhari mentioned it with a weak formulation of attribution before hadith 6757, and I have not found any strong argument for those who weakened it.