A sporting gesture from Borussia Monchengladbach did not go unnoticed by Barcelona star Lionel Messi.

Injured Barcelona star Lionel Messi has taken to Facebook to thank Champions League opponent Borussia Monchengladbach for its gesture of goodwill.

Messi was ruled out for three weeks with a groin injury picked up in Barca's 1-1 draw against Atletico Madrid at Camp Nou on Wednesday.

The Argentina superstar's absence may be a boost to Gladbach's hopes of causing an upset in next Wednesday's encounter at Borussia Park.

However, the Bundesliga side is disappointed Messi will not be gracing its turf, posting on Twitter: "What a pity! We would have liked to have seen you on Wednesday with @FCBarcelona at Borussia Park. Get well, Lionel Messi."

The club's English Twitter account added: "It's a shame we won't get to see Leo #Messi at BORUSSIA-PARK when @FCBarcelona visit."

And Messi took the time to thank Barca's opponents, while vowing to come back stronger from his injury.

He wrote: "Many thanks to Borussia Monchengladbach for their message of support! A really nice gesture from the club.

"Of course I would also like to thank everyone who has sent me their best wishes. I now have to rest for a few days before coming back even stronger. Hugs to everyone."

¡Muchas gracias al Borussia Mönchengladbach por el mensaje de ánimo! Un gran detalle de su parte. Y por supuesto también... Posted by Leo Messi on Thursday, September 22, 2016

(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.7"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));