TABARANI 3781:
from Khuzaymah b. Thābit —
[Machine] The Prophet ﷺ said, "The wiping over the two socks is for three days and nights for the traveler, and one day and night for the resident."
الطبراني ٣٧٨١:
عن خزيمه بن ثابت —
أَنَّ النَّبِيَّ ﷺ قَالَ «الْمَسْحُ عَلَى الْخُفَّيْنِ ثَلَاثَةُ أَيَّامٍ وَلَيَالِيهِنَّ لِلْمُسَافِرِ وَيَوْمٌ وَلَيْلَةٌ لِلْمُقِيمِ»