Iran and six world powers on Friday agreed to a four-month extension of negotiations on a long-term nuclear deal.