The reactions to the top UN court's ruling Friday in the Israel-Gaza case were split along the lines of the war raging in the Palestinian territory.
The International Court of Justice (ICJ) said Israel must prevent genocidal acts in Gaza and allow humanitarian aid into the besieged strip of land.
The war in Gaza started with the October 7 attack by Hamas that resulted in about 1,140 deaths in Israel, mostly civilians, according to an AFP tally of official Israeli figures.
Militants also seized about 250 hostages and Israel says around 132 of them remain in Gaza, including the bodies of at least 28 dead captives.
Israel has vowed to crush Hamas and launched a military offensive that Gaza's health ministry says has killed at least 26,083 people, about 70 percent of them women and children.
"The charge of genocide levelled against Israel is not only false, it's outrageous, and decent people everywhere should reject it," said Israeli Prime Minister Benjamin Netanyahu.
"The ICJ order is an important reminder that no state is above the law," Palestinian foreign minister Riyad al-Maliki said in a video statement, adding that the ruling "should serve as a wake-up call for Israel and actors who enabled its entrenched impunity".
"Today marks a decisive victory for the international rule of law and a significant milestone in the search for justice for the Palestinian people," said the foreign affairs ministry of South Africa, which brought the case before the ICJ.
"The (International) Court of Justice's decision is an important development which contributes to isolating Israel and exposing its crimes in Gaza," said Palestinian militant group Hamas.
"We will continue to advocate for peace and an end to war, the release of hostages, access to humanitarian aid and the establishment of a Palestinian state alongside Israel, so that both nations coexist in peace and security," said Spain's Prime Minister Pedro Sanchez.
"We hope that Israel's attacks against women, children and the elderly will come to an end," Turkish President Recep Tayyip Erdogan said, calling the ruling "valuable".
"Orders of the International Court of Justice are binding on the parties and they must comply with them. The European Union expects their full, immediate and effective implementation," the European Union said.
"The World Court's landmark decision puts Israel and its allies on notice that immediate action is needed to prevent genocide and further atrocities against Palestinians in Gaza," said Balkees Jarrah, associate international justice director at Human Rights Watch.