Put the baked beans in a baking dish. Wash and quarter the tomatoes. Then remove the seeds and then dice, otherwise too much water will be drawn in. Then cut the ham sausages into pieces. Put both in the baking dish with the baked beans. Peel the onion and garlic. Dice, sauté briefly and also place in the baking dish. Season everything to taste and mix well. Finally, pour the cream over the top and sprinkle with grated Gouda cheese.
Bake in a preheated oven at 180 ° C for approx. 30-45 minutes until the cheese turns golden yellow.