See Grimm 15, Hansel and Gretel, Bolte u. Polívka 1: 115–126. Numbers 83, 98, 115, 119, have some points in common with this story.