A US judge has temporarily blocked President Donald Trump's ban on people from seven predominantly Muslim countries on February 3.