Amr bin As reported,

Amr bin As sent him to Ali to seek permission to visit his wife Asma bint Umays. Ali granted him permission, and the two of them spoke about a matter she needed. When the freed slave came out, he asked Amr about that, and Amr said, "The Messenger of Allah ﷺ forbade us from seeking permission to visit women except with the permission of their husbands."

Ahmad 17767

Sahih

حدثنا بهز حدثنا شعبة قال أخبرني الحكم قال سمعت ذكوان أبا صالح يحدث

عن مولى لعمرو بن العاص

أن عمرو بن العاص أرسله إلى علي يستأذنه على امرأته أسماء بنت عميس فأذن له فتكلما في حاجة فلما خرج المولى سأله عن ذلك فقال عمرو نهانا رسول الله ﷺ أن نستأذن على النساء إلا بإذن أزواجهن

أحمد 17767صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Amr bin As
Numbering
Darussalam 17767
Ahmad 17767