The Catalans had lost their last six games against Bayern but outplayed the six-time winners at the Olympic Stadium with Robert Lewandowski also on the scoresheet, while England star Harry Kane struck for the visitors.
Building on last week's 2-1 comeback win in Chile, Brazil looked livelier from the start and dominated possession, with late goals from Andreas Pereira and Luiz Henrique putting the gloss on an impressive performance.
After scoring the first hat-trick of his career and delivering two assists to guide Barca to a 7-0 demolition of Real Valladolid, Raphinha said that the result showed that the club has the players it needs to be contenders.
Brazil winger Raphinha scored a hattrick as Barcelona thrashed Real Valladolid 7-0 on Saturday to make it four wins from four in La Liga under new coach Hansi Flick.
Brazil goalscorer Raphinha insisted the five-time world champions would be unfazed at the prospect of playing Uruguay.
“This is a sad moment for those who love Brazilian soccer. It’s getting hard to find the spirit to watch the games. This is perhaps one of the worst teams in recent years, it has no respectable leaders, only average players for the majority."
Barcelona woke up with a familiar sinking feeling on Wednesday, another Champions League hangover, after Paris Saint-Germain thrashed them 4-1 at home to eliminate them in the quarter-finals.
Barcelona coach Xavi Hernandez hailed his side's 3-2 win away to Paris Saint-Germain in the first leg of their Champions League quarter-final on Wednesday, insisting it showed the Catalans could once again compete with the very best teams in Europe.
Barcelona coach Xavi Hernandez said Saturday goalkeeper Marc-Andre ter Stegen and winger Raphinha are fit again after injury to help the team's ailing title defence.
Barcelona's new signing Raphinha shone with a goal and two assists in his pre-season debut as the Spanish giants thrashed Inter Miami 6-0 in their U.S. tour on Tuesday.
Brazilian winger Raphinha said Friday that he is "fulfilling a childhood dream" as he was officially presented as a new Barcelona player.
Barcelona have reached an agreement in principle to sign Brazilian winger Raphinha from Premier League side Leeds United, both clubs announced on Wednesday.