Sunan Ibn Majah, Book 1, Hadith 595 (In-Book)

It was narrated that Shuraih bin Hani' said: "I asked 'Aishah about wiping over the leather socks and she said: 'Go to 'Ali and ask him, for he knows more about that than I do.' So I went to 'Ali and asked him about wiping. He said: 'The Messenger of Allah used to tell us that the resident could wipe for one day and one night, and the traveler could do so for three days.'"

حَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ، حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ، حَدَّثَنَا شُعْبَةُ، عَنِ الْحَكَمِ، قَالَ سَمِعْتُ الْقَاسِمَ بْنَ مُخَيْمِرَةَ، عَنْ شُرَيْحِ بْنِ هَانِئٍ، قَالَ سَأَلْتُ عَائِشَةَ عَنِ الْمَسْحِ، عَلَى الْخُفَّيْنِ فَقَالَتِ ائْتِ عَلِيًّا فَسَلْهُ فَإِنَّهُ أَعْلَمُ بِذَلِكَ مِنِّي ‏.‏ فَأَتَيْتُ عَلِيًّا فَسَأَلْتُهُ عَنِ الْمَسْحِ فَقَالَ كَانَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ يَأْمُرُنَا أَنْ نَمْسَحَ لِلْمُقِيمِ يَوْمًا وَلَيْلَةً وَلِلْمُسَافِرِ ثَلاَثَةَ أَيَّامٍ ‏.‏

sunnah.com