The case, filed by South Africa and supported by Egypt, is set to add to mounting international pressure on Israel.
The International Criminal Court (ICJ) ruled that Israel should halt its offensive in Rafah in a session held on Friday in The Hague.
Judge Nawaf Salam, who led the court’s hearing, quoted UN officials who repeatedly underscored the humanitarian risks of the military offensive in Rafah where some 800,000 Palestinians are displaced.
He cited the Palestinian people were in an “immediate risk”.
The case was brought to the ICJ by South Africa as an emergency measure, as part of a larger case South Africa has taken to the court about Israel’s actions in Gaza.