The attack took place in the al-Rawdah mosque in the town of Bir al-Abd, 40 km (25 miles) from the North Sinai provincial capital of el-Arish.
Militants bombed a Sufi mosque and fired on worshippers in the volatile Sinai Peninsula during Friday prayers, Egyptian officials said.
Reports state a few minutes after prayers finished a bomb was exploded inside the building.