The Messenger of Allah ﷺ allowed three days and nights for the traveller and one day and night for one who is not travelling (i.e., with regard to wiping over the khuffain or leather slippers)
جَعَلَ رَسُولُ اللهِ ﷺ لِلمُسَافِرِ ثَلاثَةَ أَيَّامٍ وَلَيَالِيَهُنَّ وَلِلمُقِيمِ يَوْمًا وَلَيْلَةً