Tensions are rising in France amid a government crackdown on Muslim communities. French President Emmanuel Macron has once again offered his unsolicited opinion on the purported ‘crisis’ within Islam.

The French President comments came in response to the beheading of a teacher, Samuel Paty, a 47-year-old teacher, who was attacked on his way home from junior high school because school teacher Samuel Paty, showed cartoons of Muslims last holy prophet Muhammad (P..B.U.H)) in a lecture.

The picture was previously published by a satirical magazine in a class on freedom of expression. Muslims believe that any depiction of the Prophet is blasphemous.

Macron said the teacher "was killed as Islamists want our future," as he pledged to fight "Islamist separatism" that threatened to take hold of some Muslim communities around France.

Macron said in a speech introducing a new law to strengthen France’s state ideology of militant secularism, known as Laicite “Islam is a religion that is in crisis all over the world today, we are not just seeing this in our country,”

The comments by the French leader come on the back of previous attacks against the Muslim community in the country, with Macron earlier criticizing members of the faith for ‘separatism’.

French Muslims and other critics were quick to respond to his comments, with some questioning why the president had chosen this moment to launch his assault.

Since Macron’s speech, social media has been awash with criticism of Macron in countries from west to east, including the UK, Kuwait, Qatar, Palestine, Egypt, Algeria, Jordan, Saudi Arabia, and Turkey.

Turkish President Recep Tayyip Erdogan said in a speech, “What is the problem of this person called Macron with Muslims and Islam? Macron needs treatment on a mental level,”.

Meanwhile, Pakistan Prime Minister Imran Khan's criticism of Emmanuel Macron comes at a time when he is under scrutiny for rising religious intolerance at home.

Also Pakistani prime minister has also sought a ban on "Islamophobic content" on Facebook.

Macron didn't directly respond to Khan, but issued a tweet later in the day saying that the French government respects all differences in "a spirit of peace." "We do not accept hate speech and defend reasonable debate. We will always be on the side of human dignity and universal values," said Macron.

After President Emmanuel Macron's comments against Islam and Muslim Calls to boycott French goods on social media with hashtags like #BoycottFrenchProducts in several Muslim countries including Pakistan.

People are pouring out their feelings under the English hashtags #Islam and #NeverTheProphet in Arabic. The spat has drawn in world leaders as people in Muslim-majority countries organize street protests.

Meanwhile, Jean-Luc Melanchon, head of France’s left-wing Unbowed France party and a member of parliament, also attacked Macron. He said "Macron has lost control of the situation. By Erdogan’s statements, France is demeaned, humiliated, and ridiculed. What is Macron’s strategy? What does he plan to do besides tweet?”