The Prophet said: "Three days." I think he said, "And three nights during which the traveler may wipe over his leather socks." (Using translation from Ibn Mājah 554)
عَنِ النَّبِيِّ ﷺ أَنَّهُ قَالَ ثَلَاثَةُ أَيَّامٍ قَالَ شُعْبَةُ أَحْسَبُهُ قَالَ وَلَيَالِيهُنَّ لِلْمُسَافِرِ فِي الْمَسْحِ عَلَى الْخُفَّيْنِ