The International Court of Justice will rule on Friday May 24 on South Africa's request to order a halt to Israel's Rafah offensive in Gaza, it said on Thursday.