The United Nations top court ordered Israel on Friday to halt its military offensive in Rafah, a city in the southern Gaza Strip. But the court stopped short of ordering a cease-fire throughout Gaza.