As far as I know there has never been a commandment to wash your hands before eating. The pharisees had a lot of their own commandments, which did even contradict the true law of the Torah.
Mark 7:9 "And he said unto them, Full well ye reject the commandment of God, that ye may keep your own tradition."