It is narrated from Sayyiduna Ubayy bin Imarah al-Ansari (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) prayed in his house. He said: I said: "O Messenger of Allah! May I wipe over the leather socks (khuffs)?" He (peace and blessings be upon him) said: "Yes." I said: "One day?" He (peace and blessings be upon him) said: "Yes, and two days too." I said: "And three days, O Messenger of Allah?" He (peace and blessings be upon him) said: "Yes, and as long as you like."
Hadith Referenceالمعجم الكبير للطبراني / باب الألف / 543