Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Two women went out, each with her young son. A wolf came and seized one of the boys. The two women began to quarrel over the remaining child, each claiming him as her own. They brought their dispute to Dawud, who ruled that the child belonged to the elder of the two.They then passed by the prophet Sulayman ﷺ, who asked, 'What is your situation?'They told him the story.Sulayman said, 'Bring me a knife so I may split the boy between you.'The younger woman cried out, 'Would you really cut him in half?'He replied, 'Yes.'She said, 'Do not do it. My share of him belongs to her.'He then said, 'He is your son,' and ruled that the child was hers."

Ahmad 8480

Sahih

حدثنا يونس حدثنا ليث عن محمد عن أبي الزناد عن عبد الرحمن بن هرمز الأعرج

عن أبي هريرة

عن رسول الله ﷺ أنه قال خرجت امرأتان ومعهما صبيان فعدا الذئب على أحدهما فأخذتا يختصمان في الصبي الباقي فاختصمتا إلى داود فقضى به للكبرى منهما فمرتا على سليمان النبي ﷺ فقال فكيف أمركما فقصتا عليه القصة فقال ائتوني بالسكين أشق الغلام بينكما فقالت الصغرى أتشقه قال نعم قالت لا تفعل حظي منه لها فقال هو ابنك فقضى به لها

أحمد 8480صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Hurairah
Numbering
Darussalam 8480
Ahmad 8480