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) (Using translation from Aḥmad 1126)
عَنْ رَسُولِ اللهِ ﷺ أَنَّهُ قَالَ فِي الْمَسْحِ عَلَى الْخُفَّيْنِ «لِلْمُسَافِرِ ثَلَاثَةُ أَيَّامٍ وَلَيَالِيهِنَّ وَلِلْمُقِيمِ يَوْمٌ وَلَيْلَةٌ»