BRUSSELS, Belgium - Prosecutors said Monday that a teacher who claimed he was attacked by a masked Islamic State assailant had fabricated the story and was being questioned.

The alleged assault, reported Monday by a teacher in the northern Paris suburb of Aubervilliers, set off a manhunt for the purported attacker.

The Paris prosecutor's office later said the teacher made up his account of being stabbed by a man who claimed to be inspired by the Islamic State, the militant group that asserted responsibility for last month's terrorist massacres that killed 130 people in the French capital. The Paris prosecutor's office and a local prosecutor said the teacher was being questioned Monday afternoon, the Associated Press reported.

There was no immediate word on a motive for the alleged hoax.

Earlier, a spokeswoman for the Paris prosecutor's office, Agnes Thibault-Lecuivre, said French counterterrorism authorities were investigating the incident and searching for the man described by the teacher.

The teacher "was in his classroom," Pascal Beaudet, the mayor of Aubervilliers, told reporters outside the Jean Perrin d'Aubervilliers primary school, conveying the teacher's account. "He was surprised by an individual who was in the school." Beaudet said the teacher was hospitalized.

France's BFMTV, citing police sources, said that the assailant had shouted, "It's Daesh. This is a warning," as he stabbed the 45-year-old teacher in the neck and side with either a box-cutter or scissors. Daesh is an Arabic name for the Islamic State.

The Islamic State threatened French schoolteachers in the November issue of its French-language propaganda magazine, calling for attacks on the French education system. The group said French teachers were "enemies of Allah" because they taught secular values.

No students were in the school at the time of the alleged attack.