Abū Dāwūd and al-Nasā’ī also related from Abū al-Ahwas, from Abū Dharr, may Allah be pleased with him, that the Messenger of Allah, may Allah bless him and grant him peace, said: “Allah continues to turn toward His servant while he is in prayer, so long as he does not turn aside. If he turns aside, Allah turns away from him.”
If he turns aside for a need, however, there is no harm in it. Abū Dāwūd related that Sahl ibn al-Hanzaliyya said: “The iqāma was called for the prayer—that is, the dawn prayer—and the Messenger of Allah, may Allah bless him and grant him peace, began praying while turning toward the mountain pass.” Abū Dāwūd said: “He had sent a horseman to the pass during the night to stand guard.”
This is comparable to his carrying Umāma, the daughter of Abū al-Ās ibn al-Rabī and Zaynab, the daughter of the Messenger of Allah; opening the door for Aisha; descending from the pulpit while leading them in prayer in order to teach them; stepping backward during the eclipse prayer; seizing Satan and choking him when he sought to interrupt his prayer; instructing that snakes and scorpions be killed during prayer; instructing the worshipper to repel anyone who passes in front of him and to resist him; instructing women to clap; gesturing during prayer; and other actions performed for a need. Had such actions been performed without need, they would have constituted frivolous motion, which is contrary to humble submission and is prohibited during prayer.
Further evidence for this is the report related by Tamīm al-Tā’ī from Jābir ibn Samura, may Allah be pleased with him, who said: “The Messenger of Allah, may Allah bless him and grant him peace, entered upon us while the people had their hands raised—the narrator, Zuhayr ibn Muāwiya, said: ‘I believe he said: during prayer’—and he said: ‘Why do I see you raising your hands as though they were the tails of restive horses? Be still during prayer.’” This was related by Muslim, Abū Dāwūd, and al-Nasā’ī. They also related from Ubayd Allah ibn al-Qibtiyya, from Jābir ibn Samura, may Allah be pleased with him, who said: “Whenever we prayed