Barcelona set an unwanted record during their 1-0 loss to Raro Vallecano at home.
It is the first time they have lost three consecutive home games in the same season in their illustrious history
Alvaro Garcia struck the only goal of the game after just seven minutes with Barcelona struggling to build any attacking threat during much of the contest.
Garcia opened the scoring in the seventh minute when he received the ball inside the box and rifled it past Marc-Andre ter Stegen.
Barcelona were guilty of failing to convert a number of golden chances despite going agonizingly close to an equalizer with the referee playing 14 minutes of stoppage time at the end of the second half.
In the 25th minute, a strike by defender Jordi Alba from the edge of the box was just off target, touching the outside of the right post. Gavi then lashed the ball against the crossbar in the 42nd, Ferran Torres netted on the follow-up but his effort was disallowed for offside.
Xavi went all in looking for an equalizer by introducing three forwards off the bench with Memphis Depay, Adama Traore, and Luuk de Jong all coming on before the 71st minute.
Traore caused a scare in the Rayo defense in the 76th minute with a stunning cross into the penalty area, but it was cleared to safety by Rayo winger Isi.
Barcelona continued to press in stoppage time and threatened a number of times, but Rayo clung on for the three points which steered them further away from the relegation zone.
Following home defeats against Eintracht Frankfurt in the Europa League and against Cadiz in LaLiga, the club has now secured some most unwanted history, having previously lost three games in a row at Camp Nou in 1998 but that was split over two seasons.
The result also means 11th-placed Rayo have completed the league double over Barca for the first time, following their 1-0 home win in October.
Xavi’s honeymoon period is officially over as Barcelona’s stuttering form has effectively ended their unrealistic hopes of catching Real Madrid at the top of the standings.
Real can now clinch the league title with either a draw or win at home to Espanyol on Saturday.
Barcelona remains second in the table, level on points with Sevilla and two points clear of Atletico Madrid.
Xavi Hernandez’s side has no room for error left with fifth-placed Real Betis only six points behind.