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.
nasai-kubra:5654ʿAmr b. ʿAlī Abū Ḥafṣ > Yaḥyá > al-Qaṭṭān > al-Ajlaḥ Wāsmuh Yaḥyá > al-Shaʿbī > ʿAbdullāh b. Abū al-Khalīl > Zayd b. Arqam

"I was with the Messenger of Allah, and 'Ali, may Allah be pleased with him, was in Yemen at that time. A man came to him and said: 'I saw 'Ali when three men were brought to him who all claimed (to be the father) of a child. 'Ali said to one of them: Will you give the child up to him? And he refused. He said to (the next one): Will you give the child up to him? And he refused. He said to (the next one): Will you give the child up to him? And he refused. 'Ali said: You are disputing partners. I will cast lots among you, and whoever wins the draw, the child is for him, and he has to pay two-thirds of the Diyah.' The Messenger of Allah laughed so much that his back teeth became visible." (Using translation from Nasāʾī 3490)   

الكبرى للنسائي:٥٦٥٤أَخْبَرَنَا عَمْرُو بْنُ عَلِيٍّ أَبُو حَفْصٍ قَالَ حَدَّثَنَا يَحْيَى هُوَ الْقَطَّانُ قَالَ حَدَّثَنَا الْأَجْلَحُ وَاسْمُهُ يَحْيَى عَنِ الشَّعْبِيِّ عَنْ عَبْدِ اللهِ بْنِ أَبِي الْخَلِيلِ عَنْ زَيْدِ بْنِ أَرْقَمَ قَالَ

كُنْتُ عِنْدَ النَّبِيِّ ﷺ وَعَلِيٌّ يَوْمَئِذٍ بِالْيَمَنِ فَأَتَاهُ رَجُلٌ فَقَالَ شَهِدْتُ عَلِيًّا أُتِيَ فِي ثَلَاثَةٍ ادَّعَوْا وَلَدَ امْرَأَةٍ فَقَالَ عَلِيٌّ لِأَحَدِهِمْ تَدَعُهُ لِهَذَا؟ فَأَبَى وَقَالَ لِهَذَا تَدَعُهُ لِهَذَا فَأَبَى وَقَالَ لِهَذَا تَدَعُهُ لِهَذَا فَأَبَى قَالَ عَلِيٌّ أَنْتُمْ شُرَكَاءُ مُتَشَاكِسُونَ وَسَأُقْرِعُ بَيْنَكُمْ فَأَيُّكُمْ أَصَابَتْهُ الْقُرْعَةُ فَهُوَ لَهُ وَعَلَيْهِ ثُلُثَا الدِّيَةِ «فَضَحِكَ رَسُولُ اللهِ ﷺ حَتَّى بَدَتْ نَوَاجِذُهُ» قَالَ أَبُو عَبْدِ الرَّحْمَنِ هَذِهِ الْأَحَادِيثُ كُلُّهَا مُضْطَرِبَةُ الْأَسَانِيدِ  


See similar narrations below:

Collected by Nasāʾī
nasai:3490ʿAmr b. ʿAlī > Yaḥyá > al-Ajlaḥ > al-Shaʿbī > ʿAbdullāh b. Abū al-Khalīl > Zayd b. Arqam > Kunt ʿInd

"I was with the Messenger of Allah, and 'Ali, may Allah be pleased with him, was in Yemen at that time. A man came to him and said: 'I saw 'Ali when three men were brought to him who all claimed (to be the father) of a child. 'Ali said to one of them: Will you give the child up to him? And he refused. He said to (the next one): Will you give the child up to him? And he refused. He said to (the next one): Will you give the child up to him? And he refused. 'Ali said: You are disputing partners. I will cast lots among you, and whoever wins the draw, the child is for him, and he has to pay two-thirds of the Diyah.' The Messenger of Allah laughed so much that his back teeth became visible."  

النسائي:٣٤٩٠أَخْبَرَنَا عَمْرُو بْنُ عَلِيٍّ قَالَ حَدَّثَنَا يَحْيَى عَنِ الأَجْلَحِ عَنِ الشَّعْبِيِّ عَنْ عَبْدِ اللَّهِ بْنِ أَبِي الْخَلِيلِ عَنْ زَيْدِ بْنِ أَرْقَمَ قَالَ

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