Sunan An-Nasa'i
Hadith #128
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)