I asked Ayesha about wiping over leather socks, and she said, "Go to Ali, for he knows more about that than I do."So I went to Ali and asked him about wiping. He said, "The Messenger of Allah ﷺ used to instruct us that the resident may wipe for one day and night, and the traveler for three days."
أخبرنا هناد بن السري عن أبي معاوية عن الأعمش عن الحكم عن القاسم بن مخيمرة
سألت عائشة رضي الله عنها عن المسح على الخفين فقالت ائت عليا فإنه أعلم بذلك مني فأتيت عليا فسألته عن المسح فقال كان رسول الله ﷺ يأمرنا أن يمسح المقيم يوما وليلة والمسافر ثلاثا