Shares of energy companies rose as traders awaited developments in U.S.-Iran negotiations.

Mediators from Qatar and elsewhere were racing to craft a framework that would open the way for new talks and head off fresh U.S. and Israeli strikes on Iran, which Middle East officials said could happen within days without a diplomatic breakthrough.

The main sticking points on a framework deal and extension of the cease-fire surround timing of negotiations on Iran's nuclear capabilities and uranium stockpiles.

U.S. oil futures fell 4.4% for the week to settle at $96.60 a barrel, amid tentative optimism about a U.S.-Iran deal.

Write to Rob Curran at rob.curran@dowjones.com