[Machine] The Messenger of Allah ﷺ said, "If the Imam begins a new action before completing his prayer until he sits down, then his prayer is completed, and the prayer of those behind him is also completed in the same manner as his prayer."
قَالَ رَسُولُ اللهِ ﷺ «إِذَا أَحْدَثَ الْإِمَامُ فِي آخِرِ صَلَاتِهِ حَتَّى يَسْتَوِيَ قَاعِدًا فَقَدْ تَمَّتْ صَلَاتُهُ وَصَلَاةُ مَنْ وَرَاءَهُ عَلَى مِثْلِ صَلَاتِهِ»