El Badi Palace or Badi' Palace is a ruined palace located in Marrakesh, Morocco. It was commissioned by the sultan Ahmad al-Mansur of the Saadian dynasty a few months after his accession in 1578, with construction and embellishment continuing throughout most of his reign