Sayyiduna Khuzaimah bin Thabit (may Allah be pleased with him) narrates: A Bedouin asked the Prophet (peace and blessings be upon him) about wiping (over socks), so he said: For a traveler, three days and three nights, and for a resident, one day and one night.