Abd al-Malik ibn Marwan
Muhammad was the son of Caliph Marwan I () by a slave girl named Zaynab, and hence half-brother to Caliph Abd al-Malik ibn Marwan ().