Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:6761Ādam > Shuʿbah > Muʿāwiyah b. Qurrah And Qatādah > Anas b. Mālik

The Prophet ﷺ said, "The freed slave belongs to the people who have freed him," or said something similar.  

البخاري:٦٧٦١حَدَّثَنَا آدَمُ حَدَّثَنَا شُعْبَةُ حَدَّثَنَا مُعَاوِيَةُ بْنُ قُرَّةَ وَقَتَادَةُ عَنْ أَنَسِ بْنِ مَالِكٍ ؓ

عَنِ النَّبِيِّ ﷺ قَالَ مَوْلَى الْقَوْمِ مِنْ أَنْفُسِهِمْ أَوْ كَمَا قَالَ  


See similar narrations below:

Collected by Bukhārī, Aḥmad, Suyūṭī
bukhari:6762Abū al-Walīd > Shuʿbah > Qatādah > Anas

The Prophet ﷺ said, "The son of the sister of some people is from them or from their own selves."  

البخاري:٦٧٦٢حَدَّثَنَا أَبُو الْوَلِيدِ حَدَّثَنَا شُعْبَةُ عَنْ قَتَادَةَ عَنْ أَنَسٍ

عَنِ النَّبِيِّ ﷺ قَالَ ابْنُ أُخْتِ الْقَوْمِ مِنْهُمْ أَوْ مِنْ أَنْفُسِهِمْ  

ahmad:13416Abū Qaṭan > Shuʿbah > Muʿāwiyah b. Qurrah > Anas

The Prophet ﷺ said, "The son of the sister of some people is from them or from their own selves." (Using translation from Bukhārī 6762)  

أحمد:١٣٤١٦حَدَّثَنَا أَبُو قَطَنٍ حَدَّثَنَا شُعْبَةُ عَنْ مُعَاوِيَةَ بْنِ قُرَّةَ عَنْ أَنَسٍ

عَنِ النَّبِيِّ ﷺ قَالَ ابْنُ أُخْتِ الْقَوْمِ مِنْهُمْ أَوْ مِنْ أَنْفُسِهِمْ