Sunan Ibn Majah, Book 5, Hadith 419 (Ibn Majah 1221)

It was narrated that ‘Aishah said:

“The Messenger of Allah (ﷺ) said: ‘Whoever vomits, has a nosebleed, belches, or emits prostatic fluid, should stop praying; perform ablution, then resume his prayer, and while he is in that state he should not speak.”