كتاب الطهارة
2  
The Book of Purification
(22)
Chapter: Wiping over the khuff (leather socks)
(22)
باب الْمَسْحِ عَلَى الْخُفَّيْنِ ‏‏
Sahih Muslim 272a

Hummam reported:

Jarir urinated, then performed ablution and wiped over the socks. It was said to him: Do you do like this? He said: Yes, I saw that the Messenger of Allah (ﷺ) urinated, then performed ablution and then wiped over his shoes. A'mash said: Ibrahim had observed that this hadith was a surprise for them (the people) because Jarir had embraced Islam after the revelation of Surat al-Ma'ida.
حَدَّثَنَا يَحْيَى بْنُ يَحْيَى التَّمِيمِيُّ، وَإِسْحَاقُ بْنُ إِبْرَاهِيمَ، وَأَبُو كُرَيْبٍ جَمِيعًا عَنْ أَبِي مُعَاوِيَةَ، ح وَحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا أَبُو مُعَاوِيَةَ، وَوَكِيعٌ، - وَاللَّفْظُ لِيَحْيَى - قَالَ أَخْبَرَنَا أَبُو مُعَاوِيَةَ، عَنِ الأَعْمَشِ، عَنْ إِبْرَاهِيمَ، عَنْ هَمَّامٍ، قَالَ بَالَ جَرِيرٌ ثُمَّ تَوَضَّأَ وَمَسَحَ عَلَى خُفَّيْهِ فَقِيلَ تَفْعَلُ هَذَا ‏.‏ فَقَالَ نَعَمْ رَأَيْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم بَالَ ثُمَّ تَوَضَّأَ وَمَسَحَ عَلَى خُفَّيْهِ ‏.‏ قَالَ الأَعْمَشُ قَالَ إِبْرَاهِيمُ كَانَ يُعْجِبُهُمْ هَذَا الْحَدِيثُ لأَنَّ إِسْلاَمَ جَرِيرٍ كَانَ بَعْدَ نُزُولِ الْمَائِدَةِ ‏.‏
Reference : Sahih Muslim 272a
In-book reference : Book 2, Hadith 89
USC-MSA web (English) reference : Book 2, Hadith 520
  (deprecated numbering scheme)