(24) باب مَوْلَى الْقَوْمِ مِنْ أَنْفُسِهِمْ، وَابْنُ الأُخْتِ مِنْهُمْ
Narrated Anas bin Malik:
The Prophet (ﷺ) said, "The freed slave belongs to the people who have freed him," or said something similar.
Reference: Sahih al-Bukhari 6761
In-book reference: Book 85, Hadith 38
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 8, Book 80, Hadith 753