It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that Sayyiduna Safwan bin Assal al-Muradi (may Allah be pleased with him) related: I came to the Messenger of Allah (peace and blessings be upon him) while he (peace and blessings be upon him) was sitting in the mosque, reclining on a red cloak of his. I said: "O Messenger of Allah, I have come to seek knowledge." He (peace and blessings be upon him) said: "Welcome to the seeker of knowledge! Indeed, the angels surround the seeker of knowledge and shade him with their wings, then they mount one upon another (layer upon layer) until they reach the lowest heaven, because of their love for what he seeks. So tell me, what have you come to seek?" Sayyiduna Safwan (may Allah be pleased with him) said: "O Messenger of Allah, we are constantly travelling between Makkah and Madinah, so give us a ruling on wiping over leather socks." The Messenger of Allah (peace and blessings be upon him) said to him: "Three days (and three nights) for the traveller, and one day and one night for the resident."
Imam al-Nasa'i (may Allah have mercy on him) narrated it through Abu Bakr Ahmad bin Ali al-Qadi (may Allah have mercy on him) from Shayban bin Farrukh (may Allah have mercy on him).