Shurayh bin Hani reported,

He asked Ayesha رضي الله عنها about wiping over leather socks. She said, "Ask Ali رضي الله عنه about that, for he used to go on military expeditions with the Messenger of Allah ﷺ."So he asked him, and Ali replied, "For the traveler it is three days and their nights, and for the resident one day and one night."Muhammad was asked whether he used to attribute this to the Prophet ﷺ. He said that he considered it to be a tradition raised to the Prophet, but he was reluctant to do so explicitly.

Ahmad 1119

Sahih

حدثنا محمد بن جعفر حدثنا شعبة عن الحكم قال سمعت القاسم بن مخيمرة يحدث

عن شريح بن هانئ

أنه سأل عائشة رضي الله عنها عن المسح على الخفين فقالت سل عن ذلك عليا رضي الله عنه فإنه كان يغزو مع رسول الله ﷺ فسأله فقال للمسافر ثلاثة أيام ولياليهن وللمقيم يوم وليلة قيل لمحمد كان يرفعه فقال إنه كان يرى أنه مرفوع ولكنه كان يهابه

أحمد 1119صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Ali bin Abu Talib
Numbering
Darussalam 1119
Ahmad 1119