Abu Hurairah reported,

The Prophet ﷺ led the noon prayer and gave the closing salutation after only two units. He was told, "The prayer has been shortened." So he prayed two more units and then performed two prostrations.

Abu Dawud 1014

Sahih

حدثنا عبيد الله بن معاذ حدثنا أبي حدثنا شعبة عن سعد بن إبراهيم سمع أبا سلمة بن عبد الرحمن

عن أبي هريرة

أن النبي ﷺ صلى الظهر فسلم في الركعتين فقيل له نقصت الصلاة فصلى ركعتين ثم سجد سجدتين

أبو داود 1014صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Prayer
Chapter
Forgetfulness in the two prostrations
Numbering
Darussalam 1014
Abu Dawud 1014