Please be advise that the Office of Foreign Assets Control (OFAC) has an in place a general license. Such as a gift or inheritance from Iran. Similarly, the sale of real property and the transfer of real property proceeds remain, for the most part, legal under the regulations. An actual OFAC license will have a license number as well as.
Less'>
This is one of the most common issues that arises with OFAC sanctions and the Iranian-American community, and the answer is generally to talk to a lawyer with OFAC experience. For some information to get you started, for now, think of the real estate and funds as two separate kinds of inheritance. OFAC generally allows you to sell inherited property in Iran without a specific license (CFR 560.543 for the curious), but there are some significant exceptions. And as for the funds (as well as the cash you'll eventually get for the real estate), you cannot use sarafis. OFAC considers them Iranian Financial Institutions subject to sanctions, and US persons cannot deal with them without a specific license to do so. An attorney may be able to help you find an alternative means of transferring the funds, or help you get a license if one is necessary.
This answer is for general informational purposes only and should not be construed as legal advice for your specific situation, nor does it create an attorney-client relationship between us.