Bulugh al-Maram 74
وَعَنْ عَائِشَةَ رَضِيَ اللَّهُ عَنْهَا; أَنَّ رَسُولَ اللَّهِ - صَلَّى عَلَيْهِ وَسَلَّمَ - قَالَ: «مَنْ أَصَابَهُ قَيْءٌ أَوْ ⦗٢٦⦘ رُعَافٌ, أَوْ قَلَسٌ, أَوْ مَذْيٌ فَلْيَنْصَرِفْ فَلْيَتَوَضَّأْ, ثُمَّ لِيَبْنِ عَلَى صَلَاتِهِ, وَهُوَ فِي ذَلِكَ لَا يَتَكَلَّمُ». أَخْرَجَهُ ابْنُ مَاجَه. وَضَعَّفَهُ أَحْمَدُ وَغَيْرُهُ.
From ʿAʾishah, may Allah be pleased with her: The Messenger of Allah ﷺ said: "Whoever is afflicted by vomiting, a nosebleed, regurgitation or madhi, let him leave and perform wudu, then let him continue his prayer from where he was, provided that he does not speak during that." Reported by Ibn Majah, and Ahmad and others graded it weak.