Hadith.1075 - Al-Halabi asked him about a man who wishes to attend to a need while praying.
Imam عليه السلام said: "He should gesture with his head, signal with his hand, and glorify (SubhanAllah سبحانه وتعالى). As for a woman, when She wants to attend to a need while praying, She should clap her hands”.