Shuraih bin Hani 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), he has more knowledge about this issue because he used to accompany the Prophet (peace and blessings be upon him) during travels." So I asked Sayyiduna Ali (may Allah be pleased with him), and he said that the Prophet (peace and blessings be upon him) said: "The traveler is permitted to wipe over the socks for three days and three nights, and the resident for one day and one night."