Muhammad ibn al-Qa'im (Arabic: محمد ابن القائم) also known as Dhakirat al-Mulk (Arabic: ذخيرة الملك) was an Abbasid prince, son of Abbasid caliph Al-Qa'im. He was designated as heir apparent by his father in the mid-eleventh century CE but died before his father.
Biography
Muhammad was the son of Abbasid caliph Al-Qa'im who reigned from 1031 to 1075 and the grandson of caliph al-Qadir. His full name was Muhammad ibn Abdallah al-Qa'im ibn Ahmad al-Qadir. He was known in Baghdad as Muhammad Dhakirat al-Mulk. His Kunya was Abu al-Abbas.
In 1030, his grandfather, al-Qadir named his son Abu Ja'far al-Qa'im, as his heir, a decision taken completely independently of the Buyīd emirs. During the first half of al-Qa'im's long reign, hardly a day passed in the capital without turmoil. Frequently the city was left without a ruler; the Buyīd emir was often forced to flee the capital. While the Seljuk influence grew, Dawud Chaghri Beg married his daughter, Khadija Arslan Khatun, to al-Qa'im in 1056. Khadija Arslan Khatun had initially been betrothed to Muhammad. However, after Muhammad unexpectedly died, and Khadija Arslan married Al-Qa'im.
His father, al-Qa'im nominated him heir apparent in mid eleventh century however he died during his father's reign and his father then nominated his son, Abdallāh (future Al-Muqtadi) as next Heir-apparent. In 1075 al-Muqtadi succeeded his grandfather, when al-Qa'im died at the age of 73–74. Al-Muqtadi was born to Muhammad Dhakirat, the son of caliph al-Qa'im, and an Armenian slave girl called Urjuwuan, She was also known as Qurrut al-Ayn.



