"The Twelve Dancing Princesses" (or "The Worn-Out Dancing Shoes" or "The Shoes that were Danced to Pieces") (German: Die Zwölf Tanzen Prinzessinnen in German) is a German fairy tale bedtime story originally published by the Brothers Grimm in 1812 in Kinder- und Hausmärchen as tale number 133. Its closest analogue is the Scottish Kate Crackernuts, where it is a prince who is obliged to dance every night.
PLOT:
Twelve princesses, each more beautiful than the last, sleep in twelve beds in the same room. Every night, their doors are securely locked by their father. But in the morning, their dancing shoes are found to be worn through as if they had been dancing all night. The king, perplexed, asks his daughters to explain, but they refuse. The king then promises his kingdom and each daughter to any man who can discover the princesses' midnight secret within three days and three nights, but those who fail within the set time limit will be put to death.
An old soldier returned from war comes to the king's call after several princes have failed in the attempt. Whilst traveling through a wood he comes upon an old woman, who gives him an enchanted cloak that he can use to observe the king's daughters unaware and tells him not to eat or drink anything given to him in the evening by any of the princesses and to pretend to be fast asleep until after they leave.
The soldier is well received at the palace just as the others had been and indeed, in the evening, the princess royal (the eldest daughter) comes to his chamber and offers him a cup of wine. The soldier, remembering the old woman's advice, throws it away secretly and begins to snore loudly as if asleep.