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:21793Abū Bakr Muḥammad b. al-Ḥasan b. Fūrak > ʿAbdullāh b. Jaʿfar > Yūnus b. Ḥabīb > Abū Dāwud > Shuʿbah > Zayd al-ʿAmmī > Abū al-Ṣiddīq al-Nājī > Abū Saʿīd al-Khudrī

[Machine] We used to sell the mothers of children during the time of the Messenger of Allah ﷺ. There is nothing in these hadiths that suggests that the Prophet ﷺ was aware of this and approved it. We have narrated what indicates prohibition, and Allah knows best.  

البيهقي:٢١٧٩٣أَخْبَرَنَا أَبُو بَكْرٍ مُحَمَّدُ بْنُ الْحَسَنِ بْنِ فُورَكٍ أنبأ عَبْدُ اللهِ بْنُ جَعْفَرٍ ثنا يُونُسُ بْنُ حَبِيبٍ ثنا أَبُو دَاوُدَ ثنا شُعْبَةُ عَنْ زَيْدٍ الْعَمِّيِّ عَنْ أَبِي الصِّدِّيقِ النَّاجِيِّ عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ قَالَ

كُنَّا نَبِيعُ أُمَّهَاتِ الْأَوْلَادِ عَلَى عَهْدِ رَسُولِ اللهِ ﷺ لَيْسَ فِي شَيْءٍ مِنْ هَذِهِ الْأَحَادِيثِ أَنَّ النَّبِيَّ ﷺ عَلِمَ بِذَلِكَ فَأَقَرَّهُمْ عَلَيْهِ وَقَدْ رُوِّينَا مَا يَدُلُّ عَلَى النَّهْيِ وَاللهُ أَعْلَمُ