A Gaza military court on Thursday morning sentenced a man convicted of collaborating with Israel to death and another to life in prison on the same charge.
The court did not determine a date for his execution. It said the evidence proved the defendant was guilty.
Neither defendant was identified by name.
Hamas has executed nearly two dozen people since taking over Gaza in 2007, according to the Palestinian Center for Human Rights, which opposes capital punishment.
Under Palestinian law, collaboration with Israel, murder and drug trafficking are all punishable by death.
But all execution orders must be approved by the president before they can be carried out. Hamas no longer recognizes the legitimacy of incumbent Mahmoud Abbas, whose term ended in 2009.
In August, Amnesty International urged Hamas to halt prisoner executions.
The two main rival Palestinian parties have been on cold terms since 2006, when Hamas won the Palestinian legislative elections.
In the following year, clashes erupted between Fatah and Hamas, leaving Hamas in control of the Strip and Fatah in control of the West Bank. Maan News