The film tells a story from the era of One Thousand and One Nights about a newborn child possessing magical power who eventually has a role in saving the Caliph from a conspiracy targeting him, and the Caliph rewards him by marrying him to his daughter.