Aḥmad bin Mūsa bin Aḥmad al-Bukhārī, known as Bā Aḥmad or Bā Ḥmād, was as-sadr al-a'atham of Morocco and de facto ruler of the kingdom between 1894 and 1900. He became the country's true regent, after enthroning the son of Hassan I, Abd al-Aziz, as sultan, who was a child at the time, despite there being older siblings. He favoured Abd al-Aziz as he was responsible for his education. He died on 17 May 1900 and was buried in the royal mausoleum of Moulay Ali al-Sharif. His death meant that a young Abd al-Aziz could have more power leading to his lavish spending widening the trade deficit.