An Egyptian court on Saturday banned Hamas armed wing the Ezzedine al-Qassam Brigades and ruled that it is a "terrorist" group, a judiciary official said.