Qatar's prime minister accused Israeli leader Benjamin Netanyahu on Thursday of “killing any hope" of freeing hostages in Gaza after Israeli forces targeted Hamas leaders in Doha.

The comments from Sheikh Mohammed bin Abdulrahman Al Thani, ahead of appearing at the United Nations on Thursday, underscored the wider anger among Gulf Arab countries over Israel's strike that killed at least six people.

"I was meeting one of the hostages' families the morning of the attack," Sheikh Mohammed told CNN in an interview aired late Wednesday. "They are counting on this (cease-fire) mediation. They have no other hope for that."

Sheikh Mohammed added: "I think that what Netanyahu has done yesterday (Tuesday), he just killed any hope for those hostages."

His remarks came as thousands of Palestinians continued to flee Gaza City ahead of Israel's impending offensive there. The numbers leaving the city have grown in recent days, though many have refused because they say they no longer have the strength or money to relocate.