Palestinian militant groups threatened punishment on Thursday for "collaborators" furthering Israeli goals after the first substantial protests against the war in Gaza and Hamas' rule.

Hundreds of Palestinians have rallied in recent days in north and central Gaza, some chanting "Hamas out," in a rare show of opposition to the group whose October 2023 raid on Israel triggered a devastating offensive in the enclave.

More demonstrations, which have been applauded by Israel's government, were planned for later on Thursday.