The Auburn Tigers men's basketball team made a special stop by TNT's "Inside the NBA" show for analyst and former Auburn basketball star Charles Barkley's birthday on Thursday, Feb. 20.

The team surprised Barkley, who turned 57, with a birthday cake and several bottles of his favorite Heinz 57 sauce.

Auburn lost 65-55 to the Georgia Bulldogs on Wednesday in Athens, Georgia, before traveling to the show in Atlanta.

See Auburn basketball surprise Charles Barkley for his birthday

Auburn men's basketball tweeted out a photo of the team with Barkley, the show's host Ernie Johnson and show analysts Kenny Smith and Shaquille O'Neal.

"Had to stop in and wish the GOAT a Happy Birthday in person," the tweet read, using a goat emoji to represent the acronym "greatest of all time." The tweet finished by thanking the show: "Thanks for having us@NBAonTNT! #WarEagle"

While the team was on the show, Barkley discussed his appearance on ABC's hit show "The Bachelor" earlier in the week. Madison Prewett, the daughter Auburn director of basketball operations Chad Prewett — who was in the studio with the team — is a contestant on this season of the reality show.

In an episode that aired on Monday, Feb. 17, Madison brought the bachelor, Peter Weber, on a hometown date that included a few stops around Auburn's campus. When they visited Auburn Arena, Barkley appeared on the big screen with a video message for the two. Madison had to tell Weber who Barkley was, which did not impress the basketball legend.

Madison Prewett hometown date:What's in the contract between 'The Bachelor' and Auburn?

'The Bachelor' recap:Peter bails on Victoria F.'s hometown date but Kelsey goes home

See Charles Barkley's advice for 'The Bachelor' contestant Madison Prewett

"Dump that loser, Madi!" Barkley said on Thursday's show. "Dump that loser, Madi. He didn't know who Charles Barkley was."

Barkley played for Auburn from 1981-84 and is regarded as the team's most well-known former player. While playing for the Tigers, he led the team to its first NCAA tournament and set the record for the team's highest field goal percentage.

More Auburn basketball news

Next up, Auburn basketball faces the Tennessee Volunteers on Saturday, Feb. 22.

Lana Wynn is a digital producer with the USA Today Network. You can find her on Twitter @alanawynn.