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.
bayhaqi:21451Abū ʿAbdullāh al-Ḥāfiẓ > Abū Bakr b. Isḥāq > Muḥammad b. Aḥmad b. al-Naḍr > Muʿāwiyah b. ʿAmr > Zāʾidah > Simāk > ʿAbd al-Raḥman b. al-Qāsim from his father > ʿĀʾishah > Āshtarat Barīrah from Unās from al-Anṣār Wāshtaraṭūā al-Walāʾ

[Machine] The messenger of Allah ﷺ said, "The allegiance is for the one who possesses the blessing."  

البيهقي:٢١٤٥١أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو بَكْرِ بْنُ إِسْحَاقَ أنبأ مُحَمَّدُ بْنُ أَحْمَدَ بْنِ النَّضْرِ ثنا مُعَاوِيَةُ بْنُ عَمْرٍو ثنا زَائِدَةُ عَنْ سِمَاكٍ عَنْ عَبْدِ الرَّحْمَنِ بْنِ الْقَاسِمِ عَنْ أَبِيهِ عَنْ عَائِشَةَ ؓ أَنَّهَا اشْتَرَتْ بَرِيرَةَ مِنْ أُنَاسٍ مِنَ الْأَنْصَارِ وَاشْتَرَطُوا الْوَلَاءَ فَقَالَ

رَسُولُ اللهِ ﷺ الْوَلَاءُ لِمَنْ وَلِيَ النِّعْمَةَ  

أَخْرَجَهُ مُسْلِمٌ فِي الصَّحِيحِ مِنْ حَدِيثِ زَائِدَةَ

See similar narrations below:

Collected by Bayhaqī
bayhaqi:13768Muḥammad b. ʿAbdullāh al-Ḥāfiẓ > Abū Bakr b. Isḥāq > Muḥammad b. Aḥmad b. al-Naḍr > Muʿāwiyah b. ʿAmr > Zāʾidah > Simāk > ʿAbd al-Raḥman b. al-Qāsim from his father > ʿĀʾishah > Āshtarat Barīrah from Unās from al-Anṣār Wāshtaraṭūā al-Walāʾ > Rasūl Allāh Ṣllá

[Machine] The Messenger of Allah, ﷺ , said, "Loyalty is to be given to the one who granted the favor." She said, and the Messenger of Allah, ﷺ , chose her and her husband was a servant.  

البيهقي:١٣٧٦٨أَخْبَرَنَا مُحَمَّدُ بْنُ عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو بَكْرِ بْنُ إِسْحَاقَ أنبأ مُحَمَّدُ بْنُ أَحْمَدَ بْنِ النَّضْرِ ثنا مُعَاوِيَةُ بْنُ عَمْرٍو ثنا زَائِدَةُ عَنْ سِمَاكٍ عَنْ عَبْدِ الرَّحْمَنِ بْنِ الْقَاسِمِ عَنْ أَبِيهِ عَنْ عَائِشَةَ ؓ أَنَّهَا اشْتَرَتْ بَرِيرَةَ مِنْ أُنَاسٍ مِنَ الْأَنْصَارِ وَاشْتَرَطُوا الْوَلَاءَ فَقَالَ

رَسُولُ اللهِ ﷺ الْوَلَاءُ لِمَنْ وَلِيَ النِّعْمَةَ قَالَتْ وَخَيَّرَهَا رَسُولُ اللهِ ﷺ وَكَانَ زَوْجُهَا عَبْدًا  

أَخْرَجَهُ مُسْلِمٌ فِي الصَّحِيحِ مِنْ حَدِيثِ زَائِدَةَ وَاللهُ أَعْلَمُ