Shams al-Din Muhammad ibn al-Muqaddam (Arabic: شمس الدين ابن المقدم; died at Mount Arafat on 9 February 1188) was the 1st Emir of Baalbek under Ayyubid Dynasty, Although he was not from Ayyubid origin.
When Nur ad-Din died in 1174, Ibn al-Muqaddam emerged as the head of a powerful group of military commanders and high officials who wanted to assume power in Damascus.
[2] They could not prevent their rival the eunuch Gümüshtekin from assuming the guardianship for Nur ad-Din's 11-year-old son and heir, As-Salih Ismail al-Malik, and taking him to Aleppo.
After Gümüshtekin made an alliance with Nur ad-Din's nephew Sayf al-Din Ghazi II of Mosul against him, he approached Saladin for assistance and allowed him to seize Damascus peacefully.
[4] Saladin besieged Baalbek and Ibn al-Muqaddam was forced to surrender it in return for Baarin, Kafartab and smaller settlements.