Abu Hurairah reported,

He said, the Messenger of Allah ﷺ prayed either Dhuhr or Asr and gave the closing salam after two rakahs, then he left. The people who hurried out said, "The prayer has been shortened."Dhul Shimalayn asked, "Has the prayer been shortened, or did you forget?"The Prophet ﷺ asked, "What is Dhul Yadayn saying?"They replied, "He has spoken the truth."So he led them in the two rakahs he had left out, then performed two prostrations while seated, after giving the salam.

Ahmad 7820

Sahih

حدثنا عبد الرزاق أخبرنا معمر عن أيوب عن ابن سيرين

عن أبي هريرة

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

أحمد 7820صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Hurairah
Numbering
Darussalam 7820
Ahmad 7820