Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:573dḤajjāj b. al-Shāʿir > Hārūn b. Ismāʿīl al-Khazzāz > ʿAlī / Ibn al-Mubārak > Yaḥyá > Abū Salamah > Abū Hurayrah

The Messenger of Allah ﷺ said two rak'ahs of the noon prayer and then gave salutation when a man from Band Sulaim came to him and said: Messenger of Allah. has the prayer been shortened, or have you forgotten? -and the rest of the hadith is the same.  

مسلم:٥٧٣dوَحَدَّثَنِي حَجَّاجُ بْنُ الشَّاعِرِ حَدَّثَنَا هَارُونُ بْنُ إِسْمَاعِيلَ الْخَزَّازُ حَدَّثَنَا عَلِيٌّ وَهُوَ ابْنُ الْمُبَارَكِ حَدَّثَنَا يَحْيَى حَدَّثَنَا أَبُو سَلَمَةَ حَدَّثَنَا أَبُو هُرَيْرَةَ

أَنَّ رَسُولَ اللَّهِ ﷺ صَلَّى رَكْعَتَيْنِ مِنْ صَلاَةِ الظُّهْرِ ثُمَّ سَلَّمَ فَأَتَاهُ رَجُلٌ مِنْ بَنِي سُلَيْمٍ فَقَالَ يَا رَسُولَ اللَّهِ أَقُصِرَتِ الصَّلاَةُ أَمْ نَسِيتَ وَسَاقَ الْحَدِيثَ