Ibn Buhayna reported,

Ibn Bakr al-Azdi, an ally of Bani Abdul-Muttalib, reported that the Messenger of Allah ﷺ stood up during the noon prayer when he was supposed to sit. When he completed his prayer, he performed two prostrations while seated, before giving the salam, saying the takbir at each prostration. The people prostrated along with him in place of the sitting he had forgotten.

Ahmad 22931

Sahih

حدثنا عبد الرزاق وابن بكر قالا حدثنا ابن جريج أخبرني ابن شهاب أيضا

عن ابن بحينة الأسدي

وقال ابن بكر الأزدي حليف بني عبد المطلب أن رسول الله ﷺ قام في الظهر وعليه جلوس فلما أتم صلاته سجد سجدتين وهو جالس قبل أن يسلم يكبر في كل سجدة وسجدهما الناس معه مكان ما نسي من الجلوس

أحمد 22931صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Malik Ibn Buhayna
Numbering
Darussalam 22931
Ahmad 22931