I asked ʿA’ishah about wiping over the khuffain (leather slippers) and she said: Ask ʿAli bin Abi Talib ؓ , for he used to travel with the Messenger of Allah ﷺ. So I asked him and he said: For the traveller (the khuffain in may be wiped over) for three days and nights and for the one who is not travelling one day and night. Yahya said: He - meaning Shuʿbah - used to attribute it to the Prophet ﷺ, then he stopped doing that.
سَلْ عَلِيَّ بْنَ أَبِي طَالِبٍ فَإِنَّهُ كَانَ يُسَافِرُ مَعَ رَسُولِ اللهِ ﷺ فَسَأَلْتُهُ فَقَالَ لِلْمُسَافِرِ ثَلاثَةُأَيَّامٍ وَلَيَالِيهِنَّ وَلِلْمُقِيمِ يَوْمٌ وَلَيْلَةٌ قَالَ يَحْيَى وَكَانَ يَرْفَعُهُ يَعْنِي شُعْبَةَ ثُمَّ تَرَكَهُ