Sunan an-Nasa'i 1228
It was narrated from Abu Hurairah that:
The Messenger of Allah (ﷺ) prayed one day and said the salam after two rak'ahs, then he left. Dhul-Shimalain caught up with him and said: "O Messenger of Alah, has the prayer been shortened or did you forget?" He said: "The prayer has not been shortened, and I did not forget." He said: "Yes, by the One Who sent you with the truth." The Messenger of Allah (ﷺ) said: 'Is Dhul-Yadain speaking the truth?" They said: 'Yes.' So he led the people in praying two rak'ahs.
أَخْبَرَنَا عِيسَى بْنُ حَمَّادٍ، قَالَ حَدَّثَنَا اللَّيْثُ، عَنْ يَزِيدَ بْنِ أَبِي حَبِيبٍ، عَنْ عِمْرَانَ بْنِ أَبِي أَنَسٍ، عَنْ أَبِي سَلَمَةَ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم صَلَّى يَوْمًا فَسَلَّمَ فِي رَكْعَتَيْنِ ثُمَّ انْصَرَفَ فَأَدْرَكَهُ ذُو الشِّمَالَيْنِ فَقَالَ يَا رَسُولَ اللَّهِ أَنُقِصَتِ الصَّلاَةُ أَمْ نَسِيتَ فَقَالَ ‏"‏ لَمْ تُنْقَصِ الصَّلاَةُ وَلَمْ أَنْسَ ‏"‏ ‏.‏ قَالَ بَلَى وَالَّذِي بَعَثَكَ بِالْحَقِّ ‏.‏ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ أَصَدَقَ ذُو الْيَدَيْنِ ‏"‏ ‏.‏ قَالُوا نَعَمْ ‏.‏ فَصَلَّى بِالنَّاسِ رَكْعَتَيْنِ ‏.‏