Shuraih bin Hani said: I came to 'A'isha to ask her about wiping over the socks. She said: You better ask ('Ali) son of Abu Talib for he used to travel with Allah's Messenger (ﷺ) . We asked him and he said: The Messenger of Allah (ﷺ) stipulated (the upper limit) of three days and three nights for a traveller and one day and one night for the resident.
Shuraib bin Hani reported: I asked 'A'isha about wiping over the shoes. She said: You better go to 'Ali, for he knows more about this than I. I, therefore, came to 'Ali and he narrated from the Apostle (ﷺ) like this.