Ayesha reported,

Abu Hudhayfah bin Utbah bin Rabia bin Abd Shams, who was among those who fought at Badr with the Messenger of Allah ﷺ, adopted Salim and married him to his niece Hind bint Walid bin Utbah bin Rabia bin Abd Shams. Salim was the freed slave of a woman from the Ansar, just as the Messenger of Allah ﷺ had adopted Zayd. In the pre-Islamic era, whoever adopted a man, people would call the adopted man his son, and he would inherit from his estate, until Allah عز وجل revealed concerning this, "Call them by the names of their fathers, that is more just in the sight of Allah. But if you do not know their fathers, then they are your brothers in religion and your freed slaves" [Ahzab 33:5]. So whoever's father was not known became a freed slave and a brother in religion. Abridged.

Nasai 3225

Sahih

أخبرنا عمران بن بكار بن راشد قال حدثنا أبو اليمان قال أنبأنا شعيب عن الزهري قال أخبرني عروة بن الزبير

عن عائشة

أن أبا حذيفة بن عتبة بن ربيعة بن عبد شمس وكان ممن شهد بدرا مع رسول الله ﷺ تبنى سالما وأنكحه ابنة أخيه هند بنت الوليد بن عتبة بن ربيعة بن عبد شمس وهو مولى لامرأة من الأنصار كما تبنى رسول الله ﷺ زيدا وكان من تبنى رجلا في الجاهلية دعاه الناس ابنه فورث من ميراثه حتى أنزل الله عز وجل في ذلك {ادعوهم لآبائهم هو أقسط عند الله فإن لم تعلموا آباءهم فإخوانكم في الدين ومواليكم} فمن لم يعلم له أب كان مولى وأخا في الدين مختصر

النسائي 3225صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Marriage
Chapter
Marrying an Arab woman by a freed slave
Numbering
Darussalam 3225
Nasai 3225