BAYHAQI 3816:
from Abū Hurayrah —
[Machine] I heard Abu Huraira saying that the Messenger of Allah ﷺ prayed the 'Asr prayer and then concluded it with two prostrations. Then, he stood up and said, "Did the prayer become shortened or did you forget?" The Messenger of Allah ﷺ said, "All of that did not happen." He then said, "Some of that has happened, O Messenger of Allah." So the Messenger of Allah ﷺ turned towards the people and asked, "Did both hands speak the truth?" They said, "Yes, O Messenger of Allah." The Messenger of Allah ﷺ completed the remaining part of the prayer, then made two prostrations after the Salam while he was sitting. He narrated the Hadith of Qutaybah, but did not mention the statement of Al-Shafi'i that says, "All of that did not happen." He then said, "Then he made two prostrations while he was sitting after the Salam."
البيهقي ٣٨١٦:
عن ابو هريره —
سَمِعْتُ أَبَا هُرَيْرَةَ يَقُولُ صَلَّى لَنَا رَسُولُ اللهِ ﷺ صَلَاةَ الْعَصْرِ فَسَلَّمَ فِي رَكْعَتَيْنِ فَقَامَ ذُو الْيَدَيْنِ فَقَالَ أَقَصُرَتِ الصَّلَاةُ أَمْ نَسِيتَ؟ فَقَالَ رَسُولُ اللهِ ﷺ كُلُّ ذَلِكَ لَمْ يَكُنْ فَقَالَ قَدْ كَانَ بَعْضُ ذَلِكَ يَا رَسُولَ اللهِ فَأَقْبَلَ رَسُولُ اللهِ ﷺ عَلَى النَّاسِ فَقَالَ أَصَدَقَ ذُو الْيَدَيْنِ؟ قَالُوا نَعَمْ يَا رَسُولَ اللهِ فَأَتَمَّ رَسُولُ اللهِ ﷺ مَا بَقِيَ مِنَ الصَّلَاةِ ثُمَّ سَجَدَ سَجْدَتَيْنِ بَعْدَ السَّلَامِ وَهُوَ جَالِسٌ لَفْظُ حَدِيثِ قُتَيْبَةَ وَلَمْ يَذْكُرِ الشَّافِعِيُّ قَوْلَهُ كُلُّ ذَلِكَ لَمْ يَكُنْ وَقَالَ ثُمَّ سَجَدَ سَجْدَتَيْنِ وَهُوَ جَالِسٌ بَعْدَ التَّسْلِيمِ
hadithunlocked.com