Suspected Islamist gunmen on motorbikes stormed a primary school in Nigeria's main northern city of Kano on Tuesday and opened fire on teachers, wounding four of them, police said.
The attackers made teachers at Dan Maliki Primary School lie on the ground before shots rang out, a witness told Reuters.
No one claimed responsibility for the assault, but Islamist militant group Boko Haram--whose nickname means "Western education is sinful" in the northern Hausa language--has targeted schools before.
The movement has killed many hundreds in gun and bomb attacks since it launched an uprising against the government in 2009, opposing Western cultural influences and seeking to carve an Islamic state out of Africa's largest oil producer.
The gunmen attacked the head teacher and three other teachers, leaving them severely wounded, said police spokesman Magaji Musa Majiya. Boko Haram was the main suspect, he added.
None of the pupils was harmed.
"They made the teachers lie down on the ground, then there were gunshot sounds and everyone scampered to safety," said Hauwa Jinjiri, a trader working on the school premises who witnessed the attack.
The shooting came a day after a rival Islamist movement Ansaru posted a video it said showed the bodies of seven foreign construction workers it killed after abducting them from a remote northern town last month.
A purported spokesman for Boko Haram issued a statement on Tuesday denying claims by Nigerian security forces that they killed 20 Boko Haram militants when they repelled an attack on the Monguno barracks in the northeast a week before last.
The statement was delivered to local journalists via the same channel as a video showing the sect's leader Abubakar Shekau a week ago in which he rejected peace talks, suggesting it is from his faction.
"The truth is that we are the ones who triumphed in Monguno," said a written statement by a purported spokesman calling himself Abu Zinnira.
"The JTF succeeded in killing mostly innocent civilians, not our members. We lost three of our members but we succeeded in destroying their barracks and carting away their ammunition," he added.
Boko Haram had been without a spokesman since Abu Qaqa, believed to be a nickname, was killed by security forces late last year.
Militants Islamists in northern Nigeria, most prominently Boko Haram, have become the main threat to the stability of Africa's most populous country and second biggest economy.
Boko Haram normally target security forces, politicians or Christian worshippers, although it has hit schools in the past.
Arsonists suspected of being Boko Haram members burned down seven schools in northeastern Nigeria's Borno state a year ago.
Reporting by Chukwuemeka Madu; Additional reporting by Isaac Abrak in Kaduna; Writing by Tim Cocks; Editing by Michael Roddy