Sayyiduna Khuzaymah bin Thabit (may Allah be pleased with him) reports: The Messenger of Allah (peace and blessings be upon him) said regarding wiping over the leather socks: "For the traveler, it is three days and three nights, and for the resident, it is one day and one night."
Related hadith on this topic