It is narrated from Shurayh bin Hani that he said: I came to Sayyidah Aishah (may Allah be pleased with her) and asked about wiping over leather socks. She said: Go to Ali bin Abi Talib (may Allah be pleased with him), for he used to travel with the Messenger of Allah (peace and blessings be upon him). The narrator said: I came to Ali (may Allah be pleased with him) and asked him, and he said: The Messenger of Allah (peace and blessings be upon him) ordered us "to wipe for three days when we are travelling, and for a day and a night when we are resident."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الطهارة / 1303