Real Madrid were bumped off the top of La Liga on Saturday as Barcelona emerged 3-1 winners at home to Deportivo Alaves.