كتاب المنثورات والملح
18  
The Book of Miscellaneous ahadith of Significant Values
(370)
Chapter: Ahadith about Dajjal and Portents of the Hour
(370)
باب أحاديث الدجال وأشراط الساعة وغيرها
Riyad as-Salihin 1827
Abu Hurairah (May Allah be pleased with him) said:
The Messenger of Allah (ﷺ) said, "There were two women, each had her child with her. A wolf came and took away the child of one of them. One woman said to her companion: 'The wolf has taken your son.' The other said: 'It has taken your son.' So both of them took the dispute to Prophet Dawud (David) (ﷺ) who judged that the boy should be given to the older lady. Then they went to Prophet Sulaiman (Solomon) (ﷺ) son of Dawud and put the case before him. Prophet Sulaiman said: 'Give me a knife so that I may cut the child into two and give one half to each of you.' The younger woman said: 'Do not do so; may Allah bless you! He is her child.' On that Prophet Sulaiman decided the case in favour of the younger woman."

[Al-Bukhari and Muslim].

وعنه رضي الله عنه أنه سمع رسول الله صلى الله عليه وسلم يقول‏:‏ ‏ "‏كانت امرأتان معهما ابناهما، جاء الذئب فذهب بابن إحداهما، فقالت لصاحبتها‏:‏ إنما ذهب بابنك، وقالت الأخرى إنما ذهب بابنك فتحاكما إلى داود صلى الله عليه وسلم فقضى به للكبرى، فخرجتا على سليمان بن داود، صلى الله عليه وسلم فأخبرتاه، فقال‏:‏ ائتوني بالسكين أشقه بينهما‏.‏ فقالت الصغرى‏:‏ لا تفعل رحمك الله، هو ابنها، فقضى به للصغرى‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏
Reference : Riyad as-Salihin 1827
In-book reference : Book 18, Hadith 20