Sometimes, a mother would raise her voice while praying to warn her child and those around him against a certain danger, such as a heater or an electric plug, through Saying Allahu Akbar or Sami' Allâhu Liman Hamidah Loudly. Is this permissible? In addition, does this affect the validity of her prayer?