Where immovable property is transferred for consideration to two or more persons, and such consideration is paid out of a fund belonging to them in common, they are in the absence of a contract to the contrary, respectively entitled to interests in such property identical, as nearly as may be, with the interests to which they were respectively e...