Abu Huraira reported: The Prophet, peace and blessings be upon him, said, “There were two women each of whom had a child. A wolf came and took one of their children, so one woman said, ‘It has taken your child!’ The other woman said, ‘No, rather it has taken your child!’ They took their case to David who judged in favor of the older woman. Then, both of them went to Solomon, son of David, and told him about the matter. Solomon said, ‘Bring me a knife. I will cut him into two pieces.’ The younger woman, ‘Do not do it, may Allah have mercy on you! It is her child!’ Thus, Solomon judged in favor of the younger woman.”
Source: Ṣaḥīḥ al-Bukhārī 3426, Ṣaḥīḥ Muslim 1720
Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim
عَنْ أَبِي هُرَيْرَةَ عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ كَانَتْ امْرَأَتَانِ مَعَهُمَا ابْنَاهُمَا جَاءَ الذِّئْبُ فَذَهَبَ بِابْنِ إِحْدَاهُمَا فَقَالَتْ صَاحِبَتُهَا إِنَّمَا ذَهَبَ بِابْنِكِ وَقَالَتْ الْأُخْرَى إِنَّمَا ذَهَبَ بِابْنِكِ فَتَحَاكَمَتَا إِلَى دَاوُدَ فَقَضَى بِهِ لِلْكُبْرَى فَخَرَجَتَا عَلَى سُلَيْمَانَ بْنِ دَاوُدَ فَأَخْبَرَتَاهُ فَقَالَ ائْتُونِي بِالسِّكِّينِ أَشُقُّهُ بَيْنَهُمَا فَقَالَتْ الصُّغْرَى لَا تَفْعَلْ يَرْحَمُكَ اللَّهُ هُوَ ابْنُهَا فَقَضَى بِهِ لِلصُّغْرَى
3426 صحيح البخاري كتاب أحاديث الأنبياء باب قول الله تعالى ووهبنا لداود سليمان نعم العبد إنه أواب
1720 صحيح مسلم كتاب الأقضية باب بيان اختلاف المجتهدين