"What is happening is an attempt to stop us from our efforts in the fight against terrorism, to destroy our efforts to stop the terrible criminal plan that aims to destroy what is left of our region."
The attack on the mosque began shortly after noon prayers, when militants detonated explosive devices around the al-Rawdah mosque.
Militants then opened fire on the worshippers fleeing from the blasts.
Private newspaper al-Masry al-Youm reported that more than 20 masked gunmen were involved in the attack with automatic rifles.
A three-day period of mourning has been declared for the victims. No group has yet claimed responsibility for the attack.
Egypt later said it would delay the opening of the Rafah border crossing to Gaza after the attack because of security concerns.
The crossing had been due to open for three days from this weekend.
Striking at a mosque would be a change in tactics for the Sinai militants, who have usually attacked troops, police and Christian churches.
US President Donald Trump described the assault as a "horrible and cowardly terrorist attack" in a Twitter post.
"The world cannot tolerate terrorism, we must defeat them militarily and discredit the extremist ideology that forms the basis of their existence," he said. AAP