Iran has warned Israel of a response to the July 31 strike in Tehran that killed Hamas political chief Ismail Haniyeh.