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."
حدثنا عثمان وأبو بكر ابنا أبي شيبة المعنى قالا حدثنا أبو معاوية عن أبي مالك الأشجعي عن ابن حدير
قال رسول الله ﷺ من كانت له أنثى فلم يئدها ولم يهنها ولم يؤثر ولده عليها قال يعني الذكور أدخله الله الجنة ولم يذكر عثمان يعني الذكور
[Its chain is daif] Ahmad narrated it, 223/1, from Abu Muawiya al-Darir, with the same wording. It is also found in Musannaf Abu Bakr bin Abu Shayba, 363/8.Ibn Hudayr is not well known, as stated by Munziri.