Read hadith : know hadith to you
Bismillahir rahmaanir raheem
Narrated Abu Hurairah (R) : The prophet (S) , ” The Imam is to be followed . So do not differ from him , bow when he bows , and say , ” Rabbana -lakal hamd ” If he says ” Sami’a -L_Lahu Liman hamida , ” and if he prostrates , prostrate , and if he prays sitting , pray sitting all together , and straighten the rows for the prayer , as the straightening of the rows is amongst those things which make your prayer a correct and perfect one .
Narrated Anas bin Malik : The prophet (S) said , ” Straighten you rows as the straightening of rows is essential for a perfect and correct prayer
Narrated Anas bin Malik : I arrived at Medina and was asked whether I found any change since the days of Allah’s Apostle I said , ” I have not fount any change except that you do not stand in alignment in your prayers .