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)." (IT)
English reference (IT): Vol. 1, Book 1, Hadith 128 (IT)
Arabic reference (IT): Book 1, Hadith 129 (IT)