Sunan Ibn Majah, Book 1, Hadith 284 (Ibn Majah 550)

It was narrated from Mughirah bin Shu'bah that:

The Messenger of Allah wiped over the top and the bottom of the leather socks.