Ali ibn Abi Talib reported: The Messenger of Allah, peace and blessings be upon him, permitted wiping over leather socks for three day and nights for the traveler, and one day and night for the resident.
Source: Ṣaḥīḥ Muslim 276
Grade: Sahih (authentic) according to Muslim
Al-Nawawi said, “Our scholars related from Umar and Ali, may Allah be pleased with them, permission to wipe over non-leather socks even if they are thin.”
Source: al-Majmū’ Sharḥ al-Muhadhab 1/500
عن علي بن أبي طالب قَالَ جَعَلَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ (الْمَسْحِ عَلَى الْخُفَّيْنِ) ثَلَاثَةَ أَيَّامٍ وَلَيَالِيَهُنَّ لِلْمُسَافِرِ وَيَوْمًا وَلَيْلَةً لِلْمُقِيمِ
276 صحيح مسلم كتاب الطهارة باب التوقيت في المسح على الخفين
قال النووي وَحَكَى أَصْحَابُنَا عَنْ عُمَرَ وَعَلِيٍّ رَضِيَ اللَّهُ عَنْهُمَا جَوَازَ الْمَسْحِ عَلَى الْجَوْرَبِ وَإِنْ كَانَ رَقِيقًا
1/500 المجموع شرح المهذب