Selena Gomez got in trouble for posting a picture of herself popping her bare ankle out at a mosque in Abu Dhabi on Dec. 29. Credit: Michael Buckner/Getty Images for March of Dimes

Selena's starting off the New Year by sparking some controversy. Selena Gomez traveled to Abu Dhabi to welcome 2015 along with Kendall Jenner, Shay Mitchell, Cody Simpson, and Gigi Hadid.

When the group and their pals visited the Abu Dhabi Grand Mosque on Dec. 29, they raised some eyebrows by posting goofy Instagram pictures. 

A photo posted by Selena Gomez (@selenagomez) on Dec 12, 2014 at 1:20am PST

Gomez, 22, got the brunt of the hate when she posted a now-deleted picture of herself popping her leg out to show off her bare ankle -- a sign of impropriety in the Muslim culture. 

"I was just thinking, why purposely go to a sacred place and do something considered disrespectful?" one commenter wrote. 

Gomez didn't comment on the controversy, choosing instead to delete one of the images while leaving the group shot up.