It is narrated from Sayyiduna Khuzaymah bin Thabit al-Ansari (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said regarding wiping: "For the traveller it is three days, and for the resident one day."
Hadith Referenceالمعجم الكبير للطبراني / باب الخاء / 3754