It is narrated from Mughira bin Shu’bah (may Allah be pleased with him), he states: I said, “O Messenger of Allah! Can we wipe over the leather socks?” He ﷺ said: “Yes, provided you put them on while in a state of ablution.”
Hadith Referenceمسند الإمام الشافعي / كتاب الطهارة / 75
Hadith Takhrijاخرجه البخاري، الوضوء، باب: إذا أدخل رجليه وهما طاهرتان (206)، ومسلم، الطهارة، باب المسح على الخفين (274).