Abu Dawud
Purification (Kitab Al-Taharah)
Book Number: 001 / Hadith Number: 164
Narated By N/A : A'mash transmitted this tradition saying: If the religion were based on opinion, it would be more proper to wipe the under part of the feet than the upper. The Prophet (pbuh) wiped over the upper part of his shoes.
The narrator Waki' said: By feet he meant socks.
Another version says: I saw 'Ali perform ablution and wash the upper part of his feet, and say: Had I not seen the Messenger of Allah (pbuh) doing like this - and he narrated the tradition in full.