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:14259Abū Bakr Aḥmad b. Muḥammad b. al-Ḥārith al-Faqīh al-Aṣbahānī > Abū Muḥammad ʿAbdullāh b. Muḥammad b. Jaʿfar b. Ḥayyān al-Maʿrūf Biʾabī al-Shaykh > Abū Yaʿlá > Abū Khaythamah > Jarīr > Hishām b. ʿUrwah from his father > ʿĀʾishah

[Machine] Her husband was a servant, so the Messenger of Allah ﷺ gave her the choice, and she chose herself. Even if he had been a free man, she wouldn't have chosen him.  

البيهقي:١٤٢٥٩أَخْبَرَنَا أَبُو بَكْرٍ أَحْمَدُ بْنُ مُحَمَّدِ بْنِ الْحَارِثِ الْفَقِيهُ الْأَصْبَهَانِيُّ أنبأ أَبُو مُحَمَّدٍ عَبْدُ اللهِ بْنُ مُحَمَّدِ بْنِ جَعْفَرِ بْنِ حَيَّانَ الْمَعْرُوفُ بِأَبِي الشَّيْخِ أنبأ أَبُو يَعْلَى ثنا أَبُو خَيْثَمَةَ ثنا جَرِيرٌ عَنْ هِشَامِ بْنِ عُرْوَةَ عَنْ أَبِيهِ عَنْ عَائِشَةَ ؓ قَالَتْ

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

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ أَبِي خَيْثَمَةَ زُهَيْرِ بْنِ حَرْبٍ هَكَذَا

See similar narrations below:

Collected by Abū Dāwūd
abudawud:2233ʿUthmān b. Abū Shaybah > Jarīr > Hishām b. ʿUrwah from his father

While relating the tradition about Barirah A’ishah said “her husband was a slave, so the Prophet ﷺ gave her choice. She chose herself. Had he been a free man, he would not given her choice.”  

أبو داود:٢٢٣٣حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا جَرِيرٌ عَنْ هِشَامِ بْنِ عُرْوَةَ عَنْ أَبِيهِ عَنْ عَائِشَةَ فِي قِصَّةِ بَرِيرَةَ قَالَتْ

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