"The Messenger of Allah (ﷺ) set a time limit of three days and three nights for the traveler, and one day and one night for the resident - meaning, with regards to wiping (over the Khuffs)."
Sunan an-Nasa'i Book 1, Hadith 129