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)
قَالَ رَسُولُ اللهِ ﷺ مَنْ وُلِدَتْ لَهُ ابْنَةٌ فَلَمْ يَئِدْهَا وَلَمْ يُهِنْهَا وَلَمْ يُؤْثِرْ وَلَدَهُ عَلَيْهَا يَعْنِي الذَّكَرَ أَدْخَلَهُ اللهُ بِهَا الْجَنَّةَ