Hamas has rejected the planned presence of foreign military personnel in Gaza. It says the UN-backed force would replace the Israeli occupation with foreign guardianship.