Rinse the dried beans and soak them overnight in plenty of water (about three times their volume). Soak for at least 10 hours, up to 24h. Discard any beans that float and add more water if needed.
On the day of cooking jota soup, drain and rinse the beans again, then transfer them to a pot and cover with fresh cold water. Add two or three bay leaves and simmer gently for about 45 minutes. Don’t salt yet - beans soften better without salt. A little olive oil can be added if you like.
Cook the potatoes separately. Boil the diced potatoes in lightly salted water for about 25 minutes, until they become tender. This prevents them from staying firm later when combined with sauerkraut.
Place the sauerkraut in another pot with whole black pepper and one bay leaf. Cover with cold water. If using smoked ribs or other large smoked cuts, add them here. Bring to a boil and cook on medium heat for about 45 minutes.
While everything cooks, finely chop the onion and garlic and cut the smoked bacon into small pieces. Once the beans, potatoes, and sauerkraut are ready, drain them — but save the cooking liquids from the beans and sauerkraut.
Scoop out a small portion of the beans and about half a cup of potatoes. Mash them together until smooth. This will naturally thicken the jota soup without flour.
Heat olive oil in a large pot. Add the sliced onion and stir fry gently until soft and lightly golden. Stir in the bacon and cook briefly until fragrant.
Add the garlic and smoked paprika. Next, add the beans, potatoes, sauerkraut, bay leaves, and sausages. Pour in some of the reserved cooking liquids and add more water if needed to cover everything.
Thoroughly in the mashed bean–potato mixture. After adding the sausages, bring the soup to a gentle boil, then lower the heat, cover, and simmer in a covered pot for 12–15 minutes until the flavors come together.
Taste and adjust seasoning with salt and ground black pepper. Let the soup rest, covered, for at least 15 minutes before serving. Slice the sausages if you wish before serving, or serve them whole. Serve with homemade bread.