"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."
كُنْتُ عِنْدَ النَّبِيِّ ﷺ وَعَلِيٌّ ؓ يَوْمَئِذٍ بِالْيَمَنِ فَأَتَاهُ رَجُلٌ فَقَالَ شَهِدْتُ عَلِيًّا أُتِيَ فِي ثَلاَثَةِ نَفَرٍ ادَّعَوْا وَلَدَ امْرَأَةٍ فَقَالَ عَلِيٌّ لأَحَدِهِمْ تَدَعُهُ لِهَذَا فَأَبَى وَقَالَ لِهَذَا تَدَعُهُ لِهَذَا فَأَبَى وَقَالَ لِهَذَا تَدَعُهُ لِهَذَا فَأَبَى قَالَ عَلِيٌّ ؓ أَنْتُمْ شُرَكَاءُ مُتَشَاكِسُونَ وَسَأُقْرِعُ بَيْنَكُمْ فَأَيُّكُمْ أَصَابَتْهُ الْقُرْعَةُ فَهُوَ لَهُ وَعَلَيْهِ ثُلُثَا الدِّيَةِ فَضَحِكَ رَسُولُ اللَّهِ ﷺ حَتَّى بَدَتْ نَوَاجِذُهُ