"The Messenger of Allah ﷺ led us in praying two rak'ahs, then he stood up and did not sit, and the people stood up with him. When he finished the prayer, and we were waiting for him to say the taslim, he said the takbir and prostrated twice while sitting, before the taslim. Then he said the taslim."
صَلَّى لَنَا رَسُولُ اللَّهِ ﷺ رَكْعَتَيْنِ ثُمَّ قَامَ فَلَمْ يَجْلِسْ فَقَامَ النَّاسُ مَعَهُ فَلَمَّا قَضَى صَلاَتَهُ وَنَظَرْنَا تَسْلِيمَهُ كَبَّرَ فَسَجَدَ سَجْدَتَيْنِ وَهُوَ جَالِسٌ قَبْلَ التَّسْلِيمِ ثُمَّ سَلَّمَ