Sayyiduna Khuzaymah bin Thabit (may Allah be pleased with him) said: The Messenger of Allah (peace and blessings be upon him) ordered us to wipe for one day and one night for the resident, and for three days for the traveller.
Hadith Referenceالمعجم الكبير للطبراني / باب الخاء / 3760