I am thinking about buying a property with a friend who is separated but not divorced. Their separation was done outside of the courts but nothing officially has been written done or agreed upon. My friend will file for divorce eventually and I want to know what legal property rights their spouse has to the house. I don't want them to be able to take half of what is mine. Should I wait until the divorce is finalised before buying together?