The Prophet ﷺ said: If anyone has a female child, and does not bury her alive, or slight her, or prefer his children (i.e. the male ones) to her, Allah will bring him into Paradise. Uthman did not mention "male children". (Using translation from Abū Dāʾūd 5146)
قَالَ رَسُولُ اللَّهِ ﷺ «مَنْ وُلِدَتْ لَهُ أُنْثَى فَلَمْ يَئِدْهَا وَلَمْ يَنْهَهَا وَلَمْ يُؤْثِرْ وَلَدَهُ يَعْنِي الذَّكَرَ عَلَيْهَا أَدْخَلَهُ اللَّهُ بِهَا الْجَنَّةَ»