Numan bin Bashir reported,

My father gave me a portion of his wealth as a gift. My mother, Amra bint Rawaha, said, "I will not be satisfied until you have the Messenger of Allah ﷺ witness it."So my father went to the Prophet ﷺ to have him witness the gift he had given me.The Messenger of Allah ﷺ asked him, "Have you done the same for all of your children?"He replied, "No."The Prophet ﷺ said, "Fear Allah and treat your children justly."So my father returned and took back that gift.

Muslim 4181

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا عباد بن العوام عن حصين عن الشعبي قال سمعت النعمان بن بشير ح و حدثنا يحيى بن يحيى واللفظ له أخبرنا أبو الأحوص عن حصين عن الشعبي

عن النعمان بن بشير قال

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

مسلم 4181صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Gifts
Chapter
Disapproval of favoring some children over others in gifts
Numbering
Darussalam 4181
Muslim 4181