[Machine] On the authority of the Prophet ﷺ, he said: "When the Imam says Allahu Akbar (Allah is the Greatest) in the prayer, say Allahu Akbar. And when he bows, you should bow. And when he prostrates, you should prostrate. And when he sits for Tashahhud (recitation of the testimony of faith in a sitting position), you should also pray sitting."
عَنِ النَّبِيِّ ﷺ قَالَ إِذَا كَبَّرَ الْإِمَامُ فَكَبِّرُوا وَإِذَا رَكَعَ فَارْكَعُوا وَإِذَا سَجَدَ فَاسْجُدُوا وَإِذَا صَلَّى جَالِسًا فَصَلُّواجُلُوسًا