Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) said: The Messenger of Allah (peace and blessings be upon him) prescribed three days and three nights for the traveler, and one day and one night for the resident, as the duration for wiping over the leather socks.