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".
Reference: Sunan Abi Dawud 5146 In-book : Book 43, Hadith 374 English translation : Book 42, Hadith 5127
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.