[Machine] The Messenger of Allah ﷺ stood in the shaf' (middle) position, which he intended to sit in his prayer. He continued with his prayer, and when he reached the end of the prayer, he prostrated before giving the salutation (salam).
أَنَّ رَسُولَ اللهِ ﷺ قَامَ فِي الشَّفْعِ الَّذِي يُرِيدُ أَنْ يَجْلِسَ فِي صَلَاتِهِ فَمَضَى فِي صَلَاتِهِ فَلَمَّا كَانَ فِي آخِرِ الصَّلَاةِ سَجَدَ قَبْلَ أَنْ يُسَلِّمَ ثُمَّ سَلَّمَ