Specify in a legal document what the division of ownership is before investing in a property with someone who is a friend or non-spouse, particularly if the two parties are not putting the same amount of money into the property. If you own as tenants-in-common, one always has the right to pass their share on to someone else. You could also continue to own the property even if you do not live together in it.