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.
abudawud:2261al-Ḥasan b. ʿAlī > ʿAbd al-Razzāq > Maʿmar > al-Zuhrī Biʾisnādih And Maʿnāh > Wahū Ḥīnaʾidh Yuʿarriḍ

The tradition mentioned above has also been narrated by Al Zuhri through a different chain of narrators to the same effect. This version adds “At that time he was hinting at disowning the child.”  

أبو داود:٢٢٦١حَدَّثَنَا الْحَسَنُ بْنُ عَلِيٍّ حَدَّثَنَا عَبْدُ الرَّزَّاقِ أَخْبَرَنَا مَعْمَرٌ عَنِ الزُّهْرِيِّ بِإِسْنَادِهِ وَمَعْنَاهُ قَالَ وَهُوَ حِينَئِذٍ يُعَرِّضُ

بِأَنْ يَنْفِيَهُ