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:21703Ibn Jurayj > Ibn Abū Mulaykah > Amah Kūtibat Thum And Ladat Waladayn Thum Mātat Fasaʾalt > Hā ʿAbdullāh b. al-Zubayr > In Aqāmā Bikitābah Ummihimā Fadhalik Lahumā Faʾin Qaḍayāhā ʿAtaqā

[Machine] "If they establish the writing of their mother, then that is for both of them. If they fulfill it, they are to be freed. This was said by 'Amr ibn Dinar."  

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

إِنْ أَقَامَا بِكِتَابَةِ أُمِّهِمَا فَذَلِكَ لَهُمَا فَإِنْ قَضَيَاهَا عَتَقَا وَقَالَ ذَلِكَ عَمْرُو بْنُ دِينَارٍ