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