When the instruction to place the hands before the knees was given earlier, and the instruction to place the knees before the hands was given later, then the earlier is abrogated, and the later is the abrogator.
Sayyiduna Sa’d (may Allah be pleased with him) narrates that we used to place both hands (on the ground) before the knees, then we were commanded to place both knees before both hands.