Sulayman bin Amr reported,

My father told me that he was present at the Farewell Pilgrimage with the Messenger of Allah ﷺ. The Prophet praised Allah, glorified Him, reminded the people, and admonished them. He mentioned a story in his sermon, then said:"Take good care of women, for they are like captives in your hands. You possess nothing more from them than that, unless they commit a clear act of indecency. If they do, then separate from them in their beds and strike them in a way that is not severe. If they obey you, do not seek any means against them. Indeed, you have rights over your wives, and your wives have rights over you. As for your right over your wives, it is that they do not allow anyone you dislike to sit on your bedding, nor admit into your homes anyone you dislike. And their right over you is that you treat them well in their clothing and their food."

Tirmidhi 1163

Sahih

حدثنا الحسن بن علي الخلال حدثنا الحسين بن علي الجعفي عن زائدة عن شبيب بن غرقدة

عن سليمان بن عمرو بن الأحوص قال

حدثني أبي أنه شهد حجة الوداع مع رسول الله ﷺ فحمد الله وأثنى عليه وذكر ووعظ فذكر في الحديث قصة فقال ألا واستوصوا بالنساء خيرا فإنما هن عوان عندكم ليس تملكون منهن شيئا غير ذلك إلا أن يأتين بفاحشة مبينة فإن فعلن فاهجروهن في المضاجع واضربوهن ضربا غير مبرح فإن أطعنكم فلا تبغوا عليهن سبيلا ألا إن لكم على نسائكم حقا ولنسائكم عليكم حقا فأما حقكم على نسائكم فلا يوطئن فرشكم من تكرهون ولا يأذن في بيوتكم لمن تكرهون ألا وحقهن عليكم أن تحسنوا إليهن في كسوتهن وطعامهن

الترمذي 1163صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Breastfeeding
Chapter
Right of a woman over her husband
Numbering
Darussalam 1163
Tirmidhi 1163