The Messenger of Allah ﷺ said: ʿThe urine of a boy is to be sprinkled with water and the urine of a girl is to be washed.ʿ Qatadah said: That is if they are not yet eating solid food; if they are eating solid food then their urine is to be washed in both cases.
قَالَ رَسُولُ اللهِ ﷺ بَوْلُ الْغُلامِ يُنْضَحُ عَلَيْهِ وَبَوْلُ الْجَارِيَةِ يُغْسَلُ قَالَ قَتَادَةُ هَذَا مَا لَمْ يَطْعَمَا فَإِذَا طَعِمَا غُسِلَ بَوْلُهُمَا