The ruling also ordered Hamas to release all hostages, and Hamas has previously claimed they would abide by any ruling of the court. I find it unlikely though that they will comply.
> Hamas has previously claimed they would abide by any ruling of the court
No, Hamas previously claimed that they would observe a ceasefire if the court imposed one on Israel, conditioned on Israeli compliance with the same. They didn't say they would do anything related to anything other than an ceasefire order.
Hamas is not a state. ICJ is a tribunal that adjudicates disputes between states. ICJ has no jurisdiction to rule in regards to Hamas. Neither can Hamas bring a case against Israel, as it has no standing, considering it is not a party to the international treaty.