Yahya related to me from Malik from Zayd ibn Aslam that Umar ibnal-Khattab said, "You should not pray while you are holding yourbowels."
USC-MSA web (English) reference: Book 9, Hadith 53
Arabic reference: Book 9, Hadith 384
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.