It is narrated from Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) that the Prophet of Allah (peace and blessings be upon him) said concerning the urine of a nursing infant: "Water is to be sprinkled on the urine of a boy, and the urine of a girl is to be washed."
These are the words of the hadith as narrated by Imam Ibn Khuzaymah (may Allah have mercy on him).
In the narration of al-Qawariri (may Allah have mercy on him), the Prophet of Allah (peace and blessings be upon him) said concerning the nursing infant: "(Water) is to be sprinkled."
Qatadah (may Allah have mercy on him) said: "This ruling applies as long as the child has not begun eating food; once he begins eating food, the urine of both is to be washed."