Fatimah daughter of AbuHubaysh came to the Prophet (ﷺ) and narrated what happened with her. He said: Then take a bath and then perform ablution for every prayer and pray.
Sunan Abi Dawud Book 1, Hadith 298