The eldest lady explains that the two dogs are her sisters and the other two ladies are her half-sisters. The three sisters were left a fortune when their parents died, but two of them made bad marriages - twice. The eldest lady takes them into her home. While travelling, she meets a prince whose entire city was turned into stone. They get married, but the two jealous sisters throw them off a ship. He drowns and the lady is savd by Allah and brought to shore. She saves a serpent from a dragon. The serpent is revealed as a Jinniyah, who promptly sinks the ship and turns the two sisters into black dogs. The eldest lady must beat them three hundred times every night, or she too will become a dog.