An Iranian official said Tehran had asked US allies in the area to “prevent Washington from attacking Iran”.