French teacher reportedly beheaded after showing images of Prophet Muhammad in class

French police on Wednesday shot dead a man who attacked another person with a knife near Paris and beheaded his victim, a police source said on Friday.

France's anti-terror prosecutor said it was investigating the attack, which took place in Conflans Sainte-Honorine, a suburb northwest of Paris.

A second police source said that witnesses heard the attacker shout Allah Akbar, or God is Great.

The man who died was a middle-school teacher, a French police spokesman said.

He had reportedly shown caricatures of Prophet Muhammad in class during a discussion about freedom of expression. 

The attacker had been seen loitering near the school before the attack, AFP reported. 

Reuters / Newshub.