Egypt’s prime minister prepared to visit the Gaza Strip on Friday in an unprecedented display of solidarity with Hamas militants embroiled in a new escalation of conflict with Israel that risks spiraling into all-out war.

Two rockets from Gaza crashed near Tel Aviv in the first such attack on Israel’s commercial capital in 20 years. One fell into the Mediterranean Sea and the other in an uninhabited part of one of the Tel Aviv suburbs south of the city. …

Egypt’s new Islamist President, Mohamed Mursi, viewed by Hamas as a protector, led a chorus of denunciation of the Israeli strikes by allies of the Palestinians.

Mursi’s prime minister, Hisham Kandil, is to visit Gaza on Friday with other Egyptian officials in a show of support for the enclave, an Egyptian cabinet official said. Israel promised the delegation would come to no harm.

An Egyptian government source, speaking on condition of anonymity, said officials accompanying Kandil would explore the possibility of brokering a ceasefire.