Sayyiduna Ali (may Allah be pleased with him) said: My opinion was that for «مسح على الخفين», the part of the socks that touches the ground is more appropriate (to wipe over) than the part that remains on top of the foot, until I saw the Prophet (peace and blessings be upon him) wiping over the upper part.
Hadith Referenceمسند احمد / مسند الخلفاء الراشدين / 737
Hadith Gradingحکم دارالسلام:حديث صحيح بمجموع طرقه، والأعمش كان مضطرباً فى حديث أبى إسحاق، وأشار الدارقطني فى العلل إلى الاختلاف فى سند الحديث ومتنه