Abd al-Wahid was a son of Caliph Sulayman and a grandson of Caliph Abd al-Malik. According to a contemporary poem preserved in the 10th-century Kitab al-aghani, Abd al-Wahid rewarded the Taghlibite poet al-Qutami with fifty camels loaded with wheat, dates and clothing for a panegyric praising the prince during the rule of Caliph Umar II ; Abd al-Wahid made the gift to al-Qutami shortly after hearing that Umar had refused to gift him the thirty camels al-Qutami had requested due to the caliph's apparent disdain for poetry.
In 747 Abd al-Wahid was appointed the governor of Mecca and Medina by Caliph Marwan II, his distant cousin. During the Hajj in August 747, Kharijite rebels led by Abu Hamza al-Azdi entered Mecca and Abd al-Wahid entered a truce with them stipulating that each side could resume the Hajj in peace. As the two sides approached Mina, a closing stage of the Hajj, the Kharijites "pushed aside" Abd al-Wahid and the pilgrims he led, according to al-Tabari, leading the pilgrims to criticize the governor for not taking firmer action against Abu Hamza. Afterward, the latter encamped outside Mecca while Abd al-Wahid returned to the governor's palace in Mecca. Abd al-Wahid sent a delegation of Medinese nobles to persuadeAbu Hamza to withdraw from the region, but Abu Hamza refused and Abd al-Wahid consequently abandoned Mecca to the Kharijites, who entered without a fight. Upon returning to Medina, Abd al-Wahid mobilized an army of local volunteers and appointed to its command his distant kinsman, Abd al-Aziz ibn Abd Allah ibn Amr, a great-grandson of Caliph Uthman. On their way to Mecca, the Medinese volunteers, who lacked military experience, were ambushed by the Kharijites at the village of Qudayd between Medina and Mecca and Abd al-Aziz was slain. The Kharijites subsequently entered Medina in late 747 or early 748, spurring Abd al-Wahid to flee for Syria, the center of the Umayyad Caliphate.
Death and descendants
In the aftermath of the toppling of the Umayyads and invasion of Syria by the Abbasids in 750, Abd al-Wahid went into hiding among friendly Arab tribes until being pardoned and promised safety by the Abbasid authorities. Later that year, however, he was executed with numerous other Umayyads by the Abbasids in Jund Filastin at a banquet at an estate along Nahr Abi Futrus, in the village of Qalansawa, or in the court of the Abbasid caliphal-Saffah. According to the last account, Abd al-Wahid was singled out and seated next to the Abbasid caliph in honor of certain favors Abd al-Wahid had once granted the Abbasid family; after the caliph ordered his guards to execute the other Umayyads brought to his court by bashing in their skulls with maces, he reportedly told Abd al-Wahid "there is no point in you staying alive after your people and your power have gone", but granted him the dignity of death by the sword. A number of Umayyads fled the massacres of their family in Syria, Iraq, Egypt and Arabia and found refuge in al-Andalus where Abd al-Rahman I, a son of Abd al-Wahid's cousin Mu'awiya ibn Hisham, established the Cordoba-based Umayyad emirate in 756. The sources record a number of descendants of Abd al-Wahid's sons Abd al-Malik and Abd al-Salam playing active roles in the emirate, including a sixth-generation descendant of the former, Abd al-Malik ibn Muhammad al-Sulaymani.