An Ottawa school choir's song billed on social media as a welcome to Syrian refugees coming to Canada has garnered widespread attention including praise from the Prime Minister.

The song was under the title "Welcome to Canada Syrian Refugees."

According to the YouTube post, it was a historical song that was sung to the Prophet Muhammad when he sought refuge from Mecca to Medina.

Story continues below advertisement

The song, performed by students from De La Salle secondary school, 11 Ottawa-area elementary schools and a Kingston elementary school, had been viewed nearly 700,000 times since it was posted Dec. 11, including by Justin Trudeau.

"WATCH: Ottawa high school students sing a traditional Arabic welcome song. Well done De La Salle," Trudeau tweeted on Sunday.

Choir director Robert Filion said the song was an attempt at fostering diversity and cultural inclusion and was not originally meant as a welcome for Syrian refugees – more than 300 of whom have arrived by Canadian government planes since Friday.

The video post has also received widespread Canadian media attention and was even picked up by a Turkish news agency.

"It's very surprising," said Filion about all the attention the song has received since it was posted on Friday.

"This has taken on a life of its own," he said. "We're really happy that's going on."

Filion hasn't had a chance to hear from the students about what they think of all the media and online attention, but he expects to.

Story continues below advertisement

"I can just imagine what it is going to be like [Monday]," he said.