Barbra Streisand Performs 'The Sound of Music' Classic with Jamie Foxx: Watch

Kevin Mazur/Getty Images for BSB
Barbra Streisand performs onstage during the tour opener for "Barbra - The Music... The Mem'ries... The Magic!" at Staples Center on Aug. 2, 2016 in Los Angeles. 

Barbra Streisand’s return to her hometown of Brooklyn Thursday night (Aug. 11) was like buttah, as the living legend invited a few special guests to join her on the stage.

In a hits-filled set that included a preview of her forthcoming 35th studio album, Encore: Movie Partners Sing Broadway, Streisand added a little extra star power teaming up with Jamie Foxx and Broadway veteran Patrick Wilson, who took the stage for a duet of "Loving You."

Barbra Streisand to Perform at LGBT-Focused Fundraiser for Hillary Clinton

The star entertained an A-List crowd at Brooklyn's Barclays Center which included Sarah Jessica Parker, Bravo's Andy Cohen, CBS's Gayle King and music mogul Clive Davis.

Foxx joined Streisand onstage for a charming interaction before the pair delivered a soulful and uplifting version of The Sound of Music’s “Climb Every Mountain.”

“I cannot say how incredible this moment for me to be on stage with you,” Foxx said.  

Patrick Wilson had so much fun, fans may be getting an encore for the Saturday night show, he tweeted.

Encore: Movie Partners Sing Broadway features duets with Hugh Jackman, Alec Baldwin and Melissa McCarthy. The album arrives Aug. 26.