Mujahid said on X that six others were wounded in the attack.
Of these 264 were children, making up 82.5 percent of all casualties, according to the ICRC.
The Hamas-run media office said in a statement that the strikes hit when people sheltering at the school were performing dawn prayers, leading to many casualties.