Allan Nyom seemed to place third-placed Getafe ahead however his goal was dominated out by the video assistant referee for a foul on Samuel Umtiti.
Antoine Griezmann clipped Barca ahead from Lionel Messi’s wonderful first-time pass and Sergi Roberto scored their second from Junior Firpo’s cross.
But Angel Rodriguez’s volley found out a tense finale.
The 32-year-old, who Barcelona are considering signing in an emergency deal, guided home an expert end from eighteen yards out from Jaime Mata’s cross. That was his eighth goal as a substitute this season.
Getafe nearly saved a point however Marc-Andre ter Stegen’s wonderful save denied Angel a second.
Under La Liga rules, if a player is out for quite 5 months, then clubs can apply to sign one player from another La Liga club.
With Ousmane Dembele ruled out for up to 6 months – and Luis Suarez additionally sidelined – Barca are looking at many choices, as well as Angel, who contains a £7.5m buyout clause.
Messi has currently didn’t score in four consecutive La Liga appearances for the first time since October 2013 to January 2014 – though he had set up Barca’s previous six league goals before Roberto’s strike.
Real Madrid will re-establish their three-point lead on Sunday once they host Celta Vigo.
Watch Highlight;