Islamic Ruling on Water Splashes While Washing a Urinating Child
According to Islamic scholars, if water splashes on clothes while washing a child who has urinated, and no impurity is seen, prayer in those clothes is allowed.

Islamic scholars explain this ruling based on authentic hadith. It is narrated that the Prophet Muhammad ﷺ performed wudu, and the Companions used the remaining water on themselves. In another narration, the Prophet ﷺ sprinkled leftover wudu water on Jabir رضي الله عنه, after which he regained consciousness.
From these narrations, Islamic scholars concluded that water used for obligatory wudu, obligatory ghusl, or for removing impurity remains pure as long as there is no visible effect of impurity in it. However, such water cannot be used again to gain ritual purity.
Based on this Islamic ruling and fatwa, if water splashes onto the body or clothes while washing a child who has urinated, the clothes do not become impure as long as no trace of impurity is present in the splashes. Therefore, it is permissible to pray in those clothes. This ruling is clearly mentioned by Islamic scholars in their works.