Hakīm ibn Hizām was a companion of the Islamic prophet Muhammad and a nephew of Khadija.
He was the son of Khadija's brother, Hizam ibn Khuwaylid, and of Umm Hakim bint Zuhayr. It was said that he was born within the Kaaba enclosure of Mecca.
He married his cousin, Zaynab bint Al-Awwam ibn Khuwaylid, and they had at least three sons: Abdullah, Khalid (from whom he took his kunya Abu Khalid) and Yahya. He had a fourth son, Hisham, who may have been another son of Zaynab; but an alternative tradition names this son's mother as Mulayka bint Malik of the Al-Harith clan of the Quraysh.
Hakim fought in the Sacrilegious War of 589-592. His father was killed in the second round, and Hakim said he saw Muhammad among the archers in the third round, when the Quraysh and Kinana tribes defeated the Qays. The following year, when the Quraysh finalised their peace treaty with the Qays tribe, Hakim was one of forty hostages who were left with the Qays until the blood-money was delivered.
Hakim became a merchant who speculated in corn. He sat among the elders and he was one of those who had the right to feed the pilgrims at the Kaaba. He was the original purchaser of the slave Zayd ibn Haritha, for whom he paid 400 dirhams and whom he gave to Khadija. Among his acts of charity, he manumitted a hundred slaves and he slaughtered a hundred camels to distribute in alms.
His house was part of the same building as Khadija's; and his uncle Awwam ibn Khuwaylid lived next door. Hence, when Muhammad married Khadija, Hakim became his near neighbour.
When Muhammad declared himself to be a prophet in 610, Hakim took no interest. He was neither a strong ally nor a leader among the opposition.
It is said that at the time of the boycott of the Hashim clan (616-619), Hakim sold flour to his aunt Khadija. On his way to deliver it, he met Abu Jahl, who restrained him and said: "Are you taking food to the Hashim clan? Before you and your food move from here, I will denounce you in Mecca!" Hakim's cousin Abu'l-Bakhtari arrived on the scene, asked what was going on and told Abu Jahl that he should let Hakim deliver his aunt's own food. Abu Jahl still refused, and the quarrel came to blows. Abu'l-Bakhtari hit Abu Jahl with a camel's jaw, knocking him to the ground, and trod on him.