Phineas and the Magic Lamp

Phineas was a poor boy living on the streets of Dangrabah with his friends, Baljeet and Buford, and dreams of living in the palace, and marrying the Sultan's beautiful daughter, Isabella. One day Phineas discovers a lamp containing a magic genie (Ferb). Phineas uses the genie's powers to make himself a prince, and his friends his servants, and becomes a suitor for the princess. But the evil sorceress Candace will stop at nothing to steal the lamp for herself.