Abdullah bin Amr bin As reported,

We were sitting with the Prophet ﷺ, and Amr bin As had gone to put on his clothes to catch up with me. While we were with him, the Prophet ﷺ said, "A cursed man is about to enter upon you."By Allah, I kept anxiously watching everyone coming in and going out until so-and-so entered, meaning Hakam.

Azami 10176

Sahih

عن عبد الله بن عمرو قال

كنا جلوسا عند النبي ﷺ، وقد ذهب عمرو بن العاص يلبس ثيابه ليلحقني، فقال ونحن عنده: ليدخلن عليكم رجل لعين فوالله ما زلت وجلا أتشوف داخلا وخارجا حتى دخل فلان يعني الحكم.

الأعظمي 10176صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Virtues of the Companions and reports about them
Chapter
Virtues of individual Companions and their reports
Section
Accounts of Hakam bin Abu Aas
Numbering
Jami al-Kamil 10176 (2nd edition)
Azami 10176