E. Cobham Brewer 18101897. Dictionary of Phrase and Fable. 1898.
A passionate little deformed dwarf. A millers daughter was enjoined by a king to spin straw into gold, and the dwarf did it for her, on condition that she would give him her first child. The maiden married the king, and grieved so bitterly when her first child was born that the dwarf promised to relent if within three days she could find out his name. Two days were spent in vain guesses, but the third day one of the queens servants heard a strange voice singing
Little dreams my dainty dame
Rumpelstilzchen is my name.
The queen, being told thereof, saved her child, and the dwarf killed himself with rage. (German Popular Stories.)