‘Adi b. Thabit quoted his father as saying that his grandfather traced the following back to the Prophet, “Sneezing, drowsing and yawning during prayer, also menstruation, vomiting and nose bleeding come from the devil.”
Mutarrif b. ‘Abdallah ash-Shikhkhir quoted his father as saying, “I came to the Prophet when he was engaged in prayer, and heard a sound from within him like the bubbling of a pot,” meaning that he was weeping. In a version he said, “I saw the Prophet praying and a sound came from his breast like the rumbling of a mill, owing to weeping.”
Ahmad transmitted it. Nasa’i transmitted the first version and Abu Dawud the second.
He reported God’s Messenger as saying, “Sonny, avoid turning to the side when you are engaged in prayer, for turning to the side produces destruction. If you must do it, do it in the voluntary, but not in the obligatory prayer.”