Eighteen-year-old Ilaix Moriba scored his first goal for Barcelona to help them overcome Osasuna and move back to within two points of La Liga leaders Atletico Madrid.
Lionel Messi set Jordi Alba up for the opener, while Barca's Marc-Andre ter Stegen saved well from Kike Barja and Ruben Garcia before the break.
Moriba ensured victory with an excellent finish from outside the area.
Barcelona's crucial presidential election takes place on Sunday.
Barca, a club grappling with financial problems while also attempting to keep six-time Ballon d'Or award winner Messi, will elect a new president on Sunday from three candidates - Joan Laporta, Victor Font and Toni Freixa.
Victory was Barcelona's second since the club's Nou Camp offices were raided on Monday and former president Josep Maria Bartomeu was arrested in a probe related to allegations of improper management and business corruption.
Osasuna, a side 11 places adrift of Barca, were first to threaten, with Ter Stegen at full stretch to push Barja's effort wide.
A brilliantly threaded pass from Messi and fierce finish from Alba into the roof of the net put Barca ahead, but it was Ter Stegen who ensured they maintained that lead after foiling Garcia.
Osasuna worked hard to limit Barca after the break, but they failed to find an equaliser before substitute Moriba opened his Barca account with a fine curled finish.
La Liga leaders Atletico Madrid, who were 10 points clear of Barca at the end of January, host third-placed city rivals Real Madrid on Sunday.
Latest Stories
-
Livestream: Dissolution of the 8th Parliament & the inauguration of the 9th Parliament
1 hour -
Prof Emmanuel Sarpong gunning for NSA Director General role
1 hour -
Apple to pay $95m to settle Siri ‘listening’ lawsuit
2 hours -
Judge denies Trump bid to delay sentencing in hush money case
2 hours -
Justin Trudeau’s resignation speech in full
2 hours -
Canada’s Prime Minister Justin Trudeau resigns
2 hours -
Apple says it will update AI feature after BBC complaint
2 hours -
Trump asks court to postpone sentencing ahead of inauguration
3 hours -
Fire ravages Tamale Timber Market following blazes in Accra and Kumasi
3 hours -
Timing not right for confrontation as NDC celebrates majority – Dafeamekpor
3 hours -
Swearing-in uncertainty looms over Techiman South, Okaikwei Central, Tema Central
3 hours -
The next administration of President Mahama: Expectations, experimentation and possible exasperation
3 hours -
Akufo-Addo dismisses petition against Chief Justice over lack of evidence
4 hours -
Biden bans offshore drilling across vast area of US
4 hours -
Ghana’s post-election violence is a window into an ominous future averted—or postponed
4 hours