An Iranian semiofficial news agency quotes Tehran prosecutor as saying the grandson of influential former president Akbar Hashemi Rafsanjani has been released on bail.