Written contract
what you mean is a “contract memorialised in writing”. The contract is a contract. the paper on which its terms are allegedly set out is a record of it. This might seem a fatuous distinction, but it can help navigate your way out of odd situations such as those where the parties think they have signed an agreement but haven't, or they did sign the agreement, but have subsequently lost it.
Both happen.