Sayyidah Umm Kurz al-Khuza'iyyah (may Allah be pleased with her) said: A boy was brought to the Prophet (peace and blessings be upon him) and he urinated on him (peace and blessings be upon him), so he (peace and blessings be upon him) gave an order and water was sprinkled over it. Then a girl was brought, and she urinated on him (peace and blessings be upon him), so he (peace and blessings be upon him) gave an order and it was washed.
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 21870