In order to be allowed to wipe over one’s socks, they have to have been put on at the
    same time, after completing wudoo’ or ghusl
Question

                What is the ruling
      concerning a man who washes his right foot and puts his right sock on before he washes his
      left foot? Is it permissible for him to wipe over his socks?
Praise be to Allah.You cannot wipe over your socks in this case, because you put the first
    sock on before completing the act of purification (wudoo’ or ghusl).