Sunan Ibn Majah, Book 1, Hadith 289 (Ibn Majah 555)
It was narrated that Abu Hurairah said:
"They said: 'O Messenger of Allah! What about the purification of the leather socks?' He said: 'For the traveler it is three days and nights, and for the resident it is one day and one night.'"