In the case of a share of stock issued pursuant to section 303(c) of the Federal National Mortgage Association Charter Act (12 U.S.C., sec. 1718), the basis of such share in the hands of the initial holder shall be an amount equal to the capital contributions evidenced by such share reduced by the amount (if any) required by section 162(d) to be treated (with respect to such share) as ordinary and necessary expenses paid or incurred in carrying on a trade or business.
Quick search by citation:
26 U.S. Code § 1054 - Certain stock of Federal National Mortgage Association
Statutory Notes and Related Subsidiaries