A 12-hour soak in cold water before cooking helps hydrate the beans and considerably shortens cooking time. Ideally, beans should be put to soak the night before they are to be prepared and be kept in a cool place, or in the refrigerator, to avoid any fermentation taking place.