It is said that the Prophet ﷺ banished him to Ṭāʾif because he had mimicked the Prophet’s gait and certain other movements; the Prophet rebuked him, expelled him, and he took up residence in Wādī Wajj (1).
A number of people faulted the Commander of the Believers ʿUthmān for showing kindness to his uncle al-Ḥakam: he granted him asylum, brought him back to Medina, and presented him with one hundred thousand.
Several reports are circulated about the Prophet’s cursing of him, but none of them is authentic (2).
Among the reports traced back to the Prophet ﷺ is his saying, “Why is it that I see the sons of al-Ḥakam leaping onto my pulpit like monkeys!” (3)
This was transmitted by al-ʿAlāʾ ibn ʿAbd al-Raḥmān, from his father, from Abū Hurayrah; there are other narrations on the subject as well.
Al-Shaʿbī said, “I heard Ibn al-Zubayr say, ‘By the Lord of this Kaʿbah, al-Ḥakam ibn Abī al-ʿĀṣ and his children are cursed upon the tongue of Muhammad ﷺ.’”
Al-Ḥakam had twenty sons and eight daughters.
It was also said that he used to divulge the secrets of the Messenger of Allah ﷺ, and for that reason he was banished.
He died in 31 AH.