Actions for the recovery of real property, or of an estate therein, or for the determination of such right or interest, or for the partition of real property, must be brought in the county in which the subject of the action or some part thereof is situated.
Iowa Code § 616.1
Real estate foreclosure, §654.3