Imran bin Husayn reported,

The Messenger of Allah ﷺ gave the salam after three units of the afternoon prayer, then entered, according to Salama, the chamber. A man called al-Khirbaq, who had long arms, stood up and said to him, "Has the prayer been shortened, Messenger of Allah?"He came out angrily, dragging his cloak, and asked, "Is he telling the truth?"They said, "Yes."So he prayed that remaining unit, then gave the salam, then performed the two prostrations of forgetfulness, then gave the salam again.

Abu Dawud 1018

Sahih

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

عن عمران بن حصين قال

سلم رسول الله ﷺ في ثلاث ركعات من العصر ثم دخل قال عن مسلمة الحجر فقام إليه رجل يقال له الخرباق كان طويل اليدين فقال له أقصرت الصلاة يا رسول الله فخرج مغضبا يجر رداءه فقال أصدق قالوا نعم فصلى تلك الركعة ثم سلم ثم سجد سجدتيها ثم سلم

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