The actor has been hospitalized for three weeks for an undisclosed medical complication.

The Oscar winner shared a brief statement on Instagram Wednesday: “Appreciate all the love!!!

The actor was in Atlanta to film the upcoming Netflix action comedyBack in ActionoppositeCameron DiazandGlenn Close.

Jamie Foxx attends the American Black Film Festival Honors Awards Ceremony at The Beverly Hilton Hotel on February 23, 2020 in Beverly Hills, California.

Jamie Foxx.Amy Sussman/Getty Images

A source with knowledge of the situation previously confirmed toCNNthat the incident did not occur onset.

PEOPLEreported a week after the hospitalization that Foxx remained “awake and alert.”

“He’s OK, thank God,” a source told the outlet.

“He’s still in the hospital and doctors are running tests but he’s awake and alert.

They’re keeping him under observation.”

The series return for season 6 on May 23.