Three sisters brag about what each of them would be able to do if the king were to take them as his wife. The eldest would bake bread for a whole army just from a single kilogram of flour, the second one would provide food for the whole population with just one cabbage head. The youngest would give the king two golden boys. The king takes all three sisters to his palace and marries the youngest, who gives birth to two golden boys. While the king is out hunting, her jealous sisters replace the boys with puppies and put the two new-born babies into the cowshed. The king, being furious about his wife’s failure, has her blinded and put in the pillory. Every passer-by has to spit on her. The king then marries the second-eldest sister.
Since the cows refuse to tread the children to death, the latter are buried alive in the dunghill from which two trees sprout. The sister, who is now the (unlawful) queen, has the trees felled and two beds made from them. When the king and queen are sleeping in them, the two beds complain about their burdens. The queen hears this and makes the king burn the beds, whereby two sparks escape through a keyhole and turn into two lambs. The queen has them slaughtered and their intestines cooked. But when the maid is washing them, she cuts off two pieces by mistake, which drift down the river and become the two golden sons again.
Saint Peter, sent by God, gives them clothes, and the golden boys set out for the king’s palace. As they refuse to spit on their mother in the pillory, they are taken to the king. They tell him their story and the king frees his lawful wife and has the other two sisters killed.