Early methods of transferring or distributing risk were practiced by Chinese and Babylonian traders as long ago as the 3rd and 2nd millennia BCE respectively.
The Babylonians developed a system which was recorded in the famous Code of Hammurabi, c.
It is usually issued in conjunction with a search of the public records done at the time of a real estate transaction.