Shuraih bin Hani (may Allah have mercy on him) says that I asked Sayyida Aisha Siddiqa (may Allah be pleased with her) a question regarding wiping over the socks, so she said, "You should ask this question to Sayyiduna Ali (may Allah be pleased with him)." So I asked Sayyiduna Ali (may Allah be pleased with him), and he said, "A traveler is permitted to wipe over the socks for three days and three nights, and a resident for one day and one night."