TORONTO -- Anti-Muslim rhetoric targeting Liberal Leader Justin Trudeau has been shared by right-wing commenters online throughout the campaign, but long-standing rumours that Trudeau wants to implement Sharia law in Canada are unfounded.

Over the last week, several memes suggesting that one of Trudeau鈥檚 鈥渦nwritten promises鈥 upon re-election would be to introduce Sharia law have been shared on right-wing social media accounts, garnering hundreds of shares.

In fact, a search for the terms 鈥淛ustin Trudeau鈥 and 鈥淪haria law鈥 on Twitter returns thousands of results, a large number of which accuse the Liberal leader of being a 鈥渃loseted Muslim鈥 and placing Sharia law above Canadian law.

鈥淚t鈥檚 just fear mongering,鈥 David Rayside, professor at the University of Toronto鈥檚 department of political science, told CTVNews.ca by phone this week.

鈥淚t has no basis of anything factual. It鈥檚 pure hate.鈥

The claims

Anti-Muslim sentiment targeting Trudeau began circulating on social media long before the election campaign began.

In June, an old story from a 鈥渟atirical鈥 website wrongly claimed that Prime Minister Justin Trudeau has converted from Christianity to Islam.

Later, in July, purportedly showing evidence of an imam detailing Trudeau鈥檚 plan to implement Sharia law began circulating among anti-Trudeau Facebook groups. The video, which cuts to an image of Trudeau sitting cross-legged amid a group of Muslim men, garnered thousands of shares and interactions.

The man featured in that video, Mufti Aasim Rashid, says .

Trudeau was also publicly confronted about the allegations in January during town hall events in Saskatchewan and Quebec.

The analysis

When asked for comment about the allegations surrounding the leader鈥檚 stance on Sharia law, the Liberal Party directed CTVNews.ca to comments Trudeau made in response to an audience member at a town hall event in Regina who accused him of supporting the Islam-based code of conduct.

鈥淚 am pleased to be able to tell you that that also is not something that I ever said,鈥 Trudeau remarked at the time.

Similarly, during a town hall event in Saint-Hyacinthe, Que., an audience member asked what Trudeau was going to do to prevent Sharia law from being imposed in Canada.

"For each wave of immigrants who come here looking to find a better world and make a better life for their children, there are people who have fears about these differences," Trudeau said in response.

"But I can tell you sir that the law in Canada, even in Ontario, is not the Sharia law and will not be Sharia law."

Sharia law concerns unfounded鈥攂ut not new

Disinformation surrounding Sharia law and anti-Muslim sentiment targeted at the government isn鈥檛 new. Experts say the noise can be attributed to fears surrounding M-103, the Liberal government鈥檚 motion condemning Islamophobia and religious discrimination, and the federal government鈥檚 decision to settle a $10.5-million lawsuit with Omar Khadr.

鈥淚t鈥檚 not clear to me why [the motion condemning Islamophobia] became controversial but it did,鈥 said Rayside. 鈥淏ut there is no other measure that the government has introduced that would particularly favour Muslims.鈥

Although the number of nationwide this year after spiking in 2017, Rayside says Islamophobic sentiment has seen an increase in certain regions of the country, particularly in Quebec thanks to Bill 21 which bars public servants from wearing religious symbols or garments at work.

鈥淚t鈥檚 always concerning to associate or discredit someone on the basis of being a so-called closeted Muslim,鈥 Mustafa Farooq, , told CTVNews.ca by phone from Ottawa.

鈥淐anadian Muslims are tired of being an election policy question during every election鈥 it鈥檚 tough to see every single election folks coming under fire in the public sphere simply because of who they are and what they believe.鈥

Farooq noted that Trudeau isn鈥檛 the only political leader who has been accused of being a so-called 鈥渃loseted Muslim.鈥

Conservative Leader Andrew Scheer faced similar accusations after interactions with the Muslim community, while NDP Leader Jagmeet Singh and his brother Gurratan Singh have been .

But the prevalence of discussions surrounding Sharia law comes from a lack of understanding of what Sharia law is and how it relates to Islam.

According to fact-checking website , Sharia is a 鈥渇aith-based code of conduct that is inseparable from the practice of Islam, yet open to interpretation.鈥 It is often associated with harsh corporal punishments such as stoning and lashings, but these punishments only constitute a portion of the law.

Farooq says that while many non-Muslims would associate Sharia law with a violent, barbaric form of justice, the vast majority of Muslims, the National Council included, are opposed to this definition of Sharia and have left regions where that type of interpretation is being practised.

鈥淚gnorance around this discussion is precisely why people can accuse Trudeau of being a closet Muslim and be okay with that,鈥 he explained.