It is narrated from Hazrat Khuzaimah bin Thabit (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) used to say that a traveler can wipe over his leather socks for three nights, and a resident for one day and one night. By Allah! If the questioner had requested for more days, the Noble Prophet (peace and blessings be upon him) would have granted more.