Hamilton was in attendance at the Camp Nou on Wednesday to witness his friend Neymar lead Barca to a 6-1 thrashing of the French champions to overcome a 4-0 first leg deficit.
And, after the disappointment of missing out to Nico Rosberg by the finest of margins for the world championship last season, Hamilton believes he can take inspiration ahead of the season opening Grand Prix in Melbourne on March 26.
“What a fight it was. It was really great to see such fighting spirit,” Hamilton said after completing pre-season testing in Barcelona.
“It was inspiring to see these guys. They didn’t stop, didn’t quit, kept pushing and I think I need to take that mentality into my season.”
Neymar scored twice and set up Sergi Roberto’s sensational 95th minute winner in a remarkable final seven minutes.
“I’ve been talking to him for a while about going to watch him play and finally being here it worked out perfect,” added Hamilton.
Ferrari once again set the pace on Friday on the track with Kimi Raikkonen posting the fastest time of all eight days of testing.
However, after three years of complete dominance by Mercedes, Hamilton is expecting a much tougher test as he aims to land his fourth world title.