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:21772ʿAbd al-Raḥman b. Ziyād b. Anʿam > Muslim b. Yasār > Saʾalt Saʿīd b. al-Musayyib > ʿItq Ummahāt al-Awlād

[Machine] Indeed, people say that the first person to order the emancipation of slave mothers was Umar ibn al-Khattab. However, that is not true. The Messenger of Allah ﷺ was the first to emancipate them and he did not put them in a third or sell them into debt. Abu Bakr al-Asbahani informed us that Abu Nasr al-Iraqi narrated to us that Sufyan ibn Muhammad narrated to us that Ali ibn al-Hasan narrated to us that Abdullah ibn al-Walid narrated to us that Sufyan remembered it and Abu Abdullah al-Hafiz informed us that Abu al-Walid al-Faqih narrated to us that al-Hasan ibn Sufyan narrated to us that Musarraf ibn Amr narrated to us that Sufyan ibn Uyaynah narrated from Abdul Rahman al-Ifrqi from Muslim ibn Yasar from Saeed ibn al-Musayyib that Umar indeed emancipated the slave mothers and he said that the Messenger of Allah ﷺ had emancipated them. Al-Ifrqi was the only one to attribute this hadith directly to the Prophet ﷺ and he is weak.  

البيهقي:٢١٧٧٢وَرَوَاهُ سُفْيَانُ الثَّوْرِيُّ فِي الْجَامِعِ عَنْ عَبْدِ الرَّحْمَنِ بْنِ زِيَادِ بْنِ أَنْعَمَ عَنْ مُسْلِمِ بْنِ يَسَارٍ قَالَ سَأَلْتُ سَعِيدَ بْنَ الْمُسَيِّبِ عَنْ عِتْقِ أُمَّهَاتِ الْأَوْلَادِ فَقَالَ

إِنَّ النَّاسَ يَقُولُونَ إِنَّ أَوَّلَ مَنْ أَمَرَ بِعِتْقِ أُمَّهَاتِ الْأَوْلَادِ عُمَرُ ؓ وَلَيْسَ كَذَلِكَ وَلَكِنَّ رَسُولَ اللهِ ﷺ أَوَّلُ مَنْ أَعْتَقَهُنَّ وَلَا يُجْعَلْنَ فِي ثُلُثٍ وَلَا يُبَعْنَ فِي دَيْنٍ 21772 أَخْبَرَنَا أَبُو بَكْرٍ الْأَصْبَهَانِيُّ أنبأ أَبُو نَصْرٍ الْعِرَاقِيُّ ثنا سُفْيَانُ بْنُ مُحَمَّدٍ ثنا عَلِيُّ بْنُ الْحَسَنِ ثنا عَبْدُ اللهِ بْنُ الْوَلِيدِ ثنا سُفْيَانُ فَذَكَرَهُ وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو الْوَلِيدِ الْفَقِيهُ أنبأ الْحَسَنُ بْنُ سُفْيَانَ ثنا مُصَرِّفُ بْنُ عَمْرٍو ثنا سُفْيَانُ بْنُ عُيَيْنَةَ عَنْ عَبْدِ الرَّحْمَنِ الْإِفْرِيقِيِّ عَنْ مُسْلِمِ بْنِ يَسَارٍ عَنْ سَعِيدِ بْنِ الْمُسَيِّبِ أَنَّ عُمَرَ ؓ أَعْتَقَ أُمَّهَاتِ الْأَوْلَادِ وَقَالَ أَعْتَقَهُنَّ رَسُولُ اللهِ ﷺ تَفَرَّدَ الْإِفْرِيقِيُّ بِرَفْعِهِ إِلَى النَّبِيِّ ﷺ وَهُوَ ضَعِيفٌ