Abdur Rahman bin Abu Bakrah narrates from his father that the Prophet Muhammad (peace be upon him) said: A traveler is permitted to wipe over his socks for three days and three nights, and a resident for one day and one night. When a person puts on his socks after performing ablution, he may wipe over them.