It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said concerning wiping over the leather socks (khuffs): "For the traveller it is three days, and for the resident one day, until the night."
This hadith has a supporting narration (shahid) in the Sahih (of Muslim) from the hadith of Sayyiduna Ali bin Abi Talib (may Allah be pleased with him).