Shadow Home Secretary criticises comments made by PM