Sunan Abi Dawud, Book 1, Hadith 161 (Abu Dawud 161)

Narrated Al-Mughirah ibn Shu'bah:

The Messenger of Allah (ﷺ) wiped over the socks. Another version adds: "On the back (upper part) of the socks."