Bulugh al-Maram 74
Narrated ‘Aisha (rad):
Allah’s Messenger (ﷺ) said: “Whoever vomits, bleeds through the nose, or released Madhi (urethral discharge) should go, perform ablution and then complete his Salat (prayer) (by continuing from where he had stopped at) on condition that he does not speak in the process”. 
Reported by Ibn Majah
وَعَنْ عَائِشَةَ رَضِيَ اَللَّهُ عَنْهَا; أَنَّ رَسُولَ اَللَّهِ صَلَّى عَلَيْهِ وَسَلَّمَ قَالَ: { مَنْ أَصَابَهُ قَيْءٌ أَوْ رُعَافٌ, أَوْ قَلَسٌ, أَوْ مَذْيٌ فَلْيَنْصَرِفْ فَلْيَتَوَضَّأْ, ثُمَّ لِيَبْنِ عَلَى صَلَاتِهِ, وَهُوَ فِي ذَلِكَ لَا يَتَكَلَّمُ }  أَخْرَجَهُ اِبْنُ مَاجَ ه  1‏ .‏‏1 ‏- ضعيف.‏ رواه ابن ماجه (1221)‏.‏