Praying with the hands placed on both sides is forbidden
It is narrated from Abu Hurayrah (may Allah be pleased with him) that:
نهى النبى صلى الله عليه وسلم أن يصلي الرجل مختصرا
“The Prophet ﷺ forbade placing the hands on the hips during prayer.”
Reference: بخاري: 1220 , كتاب الجمعة: باب الخصر فى الصلاة , مسلم: 545 , Sunan Abi Dawud: 947 , Sunan al-Nasa’i: 127/2 , ترمذى: 383 , أبو عوانة: 74/2 , دارمي: 232/1 , ابن خزيمة: 56/2 , حاكم: 264/1 , بيهقي: 287/2