The 45-year-old man will not return to the school in Aubervilliers, northeast of Paris, the education ministry said.
The teacher had claimed that a man in overalls and a balaclava burst into his classroom early on Monday, grabbed a box cutter and scissors that he found in the room, and attacked him.
He claimed that the man shouted: "This is Daesh. This is a warning." Daesh is another name for IS.
In the immediate aftermath of the incident, security was raised at schools and Education Minister Najat Vallaud-Belkacem visited the institution concerned.
But later Monday, prosecutors said the man had admitted inventing the story and cutting himself on the neck and side.
Police were said to be sceptical from the start about the claims of jihadist involvement, but with France on edge a month on from the coordinated attacks by IS that killed 130 people in Paris, the investigation was immediately taken over by anti-terrorism prosecutors.
The Islamic State's French-language magazine Dar-al-Islam called in its November edition for its followers to kill teachers in the French education system, describing them as "enemies of Allah".
----------------------------------------------------------------------------------------------------------------------------
The teacher had claimed that a man in overalls and a balaclava burst into his classroom early on Monday, grabbed a box cutter and scissors that he found in the room, and attacked him.
He claimed that the man shouted: "This is Daesh. This is a warning." Daesh is another name for IS.
In the immediate aftermath of the incident, security was raised at schools and Education Minister Najat Vallaud-Belkacem visited the institution concerned.
But later Monday, prosecutors said the man had admitted inventing the story and cutting himself on the neck and side.
Police were said to be sceptical from the start about the claims of jihadist involvement, but with France on edge a month on from the coordinated attacks by IS that killed 130 people in Paris, the investigation was immediately taken over by anti-terrorism prosecutors.
The Islamic State's French-language magazine Dar-al-Islam called in its November edition for its followers to kill teachers in the French education system, describing them as "enemies of Allah".
----------------------------------------------------------------------------------------------------------------------------