The Messenger of Allah ﷺ led us in two rakahs of one of the prayers, then he stood up without sitting, and the people stood up with him. When he completed his prayer and we were waiting for him to give the salam, he said the takbir and made two prostrations while seated before giving the salam, then he gave the salam.
حدثنا يحيى بن يحيى قال قرأت على مالك عن ابن شهاب عن عبد الرحمن الأعرج
صلى لنا رسول الله ﷺ ركعتين من بعض الصلوات ثم قام فلم يجلس فقام الناس معه فلما قضى صلاته ونظرنا تسليمه كبر فسجد سجدتين وهو جالس قبل التسليم ثم سلم