Hamas is recognized as a national liberation organization by the UN.
Got link?
Refusal to officially recognize Hamas as a terrorist organization: The UN, Russia and the Arab states do not view Hamas as a terrorist organization.
Hamas - Reut Institute
Jeeze, I wonder why the Arab states don't view Hamas as a terrorist organization