Abu Huraira reported God’s Messenger as saying, “An ‘ifrit of the jinn escaped yesterday to interrupt my prayer, but God gave me power over him, so I seized him and intended to tie him to one of the pillars of the mosque in order that you might all look at him; but I remembered the supplication of my brother Solomon, ‘My Lord, give me such a kingdom as will not be fitting for anyone after me’ (Al-Qur’an; 38:35) so I made him clear out.”
Abu Sa'id reported God’s Messenger as saying, “When one of you yawns during prayer he must restrain it as much as possible, for the devil gets in.”
Muslim transmitted it. In a version by Bukhari from Abu Huraira he said, “When one of you yawns during prayer he must restrain it as much as possible and not say ‘Ha’, for that comes from the devil who is laughing at him.”(Or “at it”, i.e. at this action).
Sahl b. Sa‘d reported God's Messenger as saying, “If anything happens to someone during prayer he should say, ‘Glory be to God,’ for clapping applies only to women.” In a version he said, “Saying 'Glory be to God’ applies to men and clapping to women.”
I saw the Prophet leading the people in prayer with Umama daughter of Abul ‘As on his shoulder. When he bowed he put her down, and when he got up after the prostration he put her back.