Abdullah bin Buhaina (may Allah be pleased with him) narrates that the Messenger of Allah (ﷺ) led us in two rak‘ahs of a (four-rak‘ah) prayer, then he stood up without sitting (for tashahhud), and the people also stood up with him. When he completed the prayer, we began to wait for him to say the salam, but before saying the salam, he performed two prostrations while he was sitting, and then he said the salam.
Hadith Referenceمسند الإمام الشافعي / كتاب الصلاة / 327
Hadith Takhrijأخرجه البخاري: السهو، باب ما جاء في السهو إذا قام من ركعتي الفريضة: 1442 - ومسلم: المساجد، باب السهو في الصلاة والسجود له: 570.
It is narrated from Ibn Buhaina (may Allah be pleased with him) that the Messenger of Allah (peace be upon him) stood up after two rak‘ahs in the Zuhr prayer and did not sit (i.e., did not recite the tashahhud). When he completed the prayer, he performed two prostrations first and then said the salam.
Hadith Referenceمسند الإمام الشافعي / كتاب الصلاة / 328
Hadith Takhrijأخرجه البخاري: السهو، باب ما جاء في السهو إذا قام من ركعتي الفريضة: 1225.
It is narrated from Ibn Buhaina (may Allah be pleased with him) that the Messenger of Allah (ﷺ) led us in (a four-unit prayer) and prayed two units, then stood up without sitting for the first tashahhud, and the people also stood up with him. When the prayer was completed, we began to wait for him to say the salam. He said "Allahu Akbar" and, before the salam, performed two prostrations while sitting.
Hadith Referenceمسند الإمام الشافعي / كتاب الصلاة / 329
Hadith Takhrijأخرجه البخاري: السهو، باب يكبر في سجدتي السهو: 1230.