Abdullah bin Abbas reported,

The Messenger of Allah ﷺ said, "Whoever has a daughter and does not bury her alive, does not treat her with contempt, and does not favor his sons over her, Allah will admit him into Paradise." He meant by this the male children. Uthman did not mention "meaning the males."

Abu Dawud 5146

Daif

حدثنا عثمان وأبو بكر ابنا أبي شيبة المعنى قالا حدثنا أبو معاوية عن أبي مالك الأشجعي عن ابن حدير

عن ابن عباس قال

قال رسول الله ﷺ من كانت له أنثى فلم يئدها ولم يهنها ولم يؤثر ولده عليها قال يعني الذكور أدخله الله الجنة ولم يذكر عثمان يعني الذكور

أبو داود 5146ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Manners
Chapter
Virtue of one who cares for orphans
Numbering
Darussalam 5146
Abu Dawud 5146