An Israeli strike on a school-turned-shelter in Gaza City has been condemned by Hamas as a 'dangerous escalation'.