Islamist group Hamas has banned public New Year's Eve parties in the Gaza Strip because they offend the territory's "values and religious traditions", police said on Wednesday.