The prince meets a carefree dancing dervish whose good fortune he purchases for his ring, from a Tuti-nama (Tales of a Parrot): Eighteenth Night
The prince, with the help of Mukhlis who changes into a frog, recovers the ring lost in the sea, and returns it to the king, from a Tuti-nama (Tales of a Parrot): Eighteenth Night