Barcelona returned to the top of the Spanish league on goal difference on Monday after Robert Lewandowski's first-half penalty secured a 1-0 win over Rayo Vallecano.