The Messenger of Allah ﷺ said, "Whoever experiences vomiting, a nosebleed, regurgitation, or the discharge of prostatic fluid should leave, perform ablution, and then resume his prayer from where he left off, provided he does not speak during that time."
حدثنا محمد بن يحيى حدثنا الهيثم بن خارجة حدثنا إسمعيل بن عياش عن ابن جريج عن ابن أبي مليكة
قال رسول الله ﷺ من أصابه قيء أو رعاف أو قلس أو مذي فلينصرف فليتوضأ ثم ليبن على صلاته وهو في ذلك لا يتكلم
No references are available.
Its chain of transmission is daif. Busiri said, "This chain is daif because it comes from Ismail narrating from the Hijazis, and that is weak, and it has another defect besides."