The 32-year-old left Los Blancos in the summer after making just 76 appearances across four seasons at the club.
The Belgian joined the Spanish giants in a £130million deal from Chelsea in 2019, but his time at the club failed to take off.
After terminating his contract in the summer, reports suggested he could hang up his boots for good.
Though Hazard will participate in a charity match for a good cause, it has been revealed.
According to L'Equipe, he will be involved in the Varietes Club de France, held at the Stade de L'Epopee in Calais on 18 October.
read more on eden hazard
Chelsea Women's star Lauren James prefers 'prime Eden Hazard' over Lionel Messi
Hazard's barber insists Palace-linked star has rejected six offers in X-rated defence
The tournament was formed in 1971, and boasts 40 charity matches per year.
He will join a team graced with some of France's 1998 World Cup winners.
Les Bleus manager Didier Deschamps, Laurent Blanc, Robert Pires and Christian Karembeu are all set to form part of the side.
Hazard will also link up with former Lille team-mates Mathieu Debuchy and Yohan Cabaye for the competition.
Most read in Football
Liverpool VAR audio 'to be released', Man United takeover latest, Zlatan questions Ten Hag
Ibrahimovic questions if Ten Hag has ability to adapt from Ajax to managing Man United
PGMOL will release audio of VAR blunder after fuming Liverpool request access
Havertz role was 'problem' for Lampard, who says some signings at Chelsea weren't his
The Belgian winger is predominately known for his time at Chelsea, having managed 110 goals and 92 assists in 352 appearances.
Hazard got his hands on the Premier League twice and also the PFA Player of the Year award during his time at Stamford Bridge.
He also managed two LaLiga titles and the Champions League with Real Madrid.