It was narrated that 'Ali (may Allah be pleased with him) said:
"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)." (ES)
English reference (ES): Vol. 1, Book 1, Hadith 128 (ES)
Arabic reference (ES): Book 1, Hadith 129 (ES)