Arabs became enthusiastic chess players, and all classes of society were enchanted by the game. Even the caliphs played and were very generous to the masters, showering them with gold and gifts. Of course, defeating a caliph was not without its dangers; Royal wrath could destroy the hapless player. However, the caliphs were usually spectators, and they enjoyed watching their favorites at the game, but the favorite who lost his game could quickly find himself out of favor. After Al-Maswardi lost a game to As-Suli the caliph informed him, "Your rosewater has been changed to urine."
Not only caliphs and their sons played chess in Arabian lands, princesses also played. In fact, it was customary for ladies to play chess. Many poems recount how chess players had been so distracted by the beauty of a female opponent that they lost the game. All too often chess became a game of love filled with many exciting variations.
The spirit that prevailed in the Arabian chess world is illustrated by the legend of Princess Dilaram. She was the favourite wife of the Grand Vizier Murwadi, who although an ardent chess player, was also a very average one. He had lost a fortune in an unlucky game, then gambled away his remaining possessions and finally even set Dilaram as the prize. Filled with anxiety, Dilaram watched as her husband's game progressively worsened until it was generally agreed that his position was hopeless. Suddenly the princess saw a series of moves that would win the game and save her life.
Her desperate husband, on the point of conceding defeat, heard her whisper the words,...
Well, perhaps you don't need to hear her whispered words. The position is shown below, it is whites move. You will need to look at how the chess rules differed then, medieval chess rules will suffice for this problem.
Note, the bishop should really be an elephant. Here's the solution.