Sayyiduna Ibn Mas'ud (may Allah be pleased with him) used to recite: "and (wash) your feet up to the ankles" [Surah al-Ma'idah: 6], and he would say that the command is to wash the feet.