"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.'" (Using translation from Ibn Mājah 552)
ائْتِ عَلِيًّا فَإِنَّهُ أَعْلَمُ بِذَلِكَ مِنِّي فَأَتَيْتُ عَلِيًّا فَسَأَلْتُهُ عَنِ الْمَسْحِ؟ فَقَالَ كَانَ رَسُولُ اللهِ ﷺ «يَأْمُرُنَا أَنْ يَمْسَحَ الْمُقِيمُ يَوْمًا وَلَيْلَةً وَالْمُسَافِرُ ثَلَاثَةَ أَيَّامٍ»