Abdullah bin Abbas reported,

The Prophet ﷺ said, "I was shown the Fire, and I saw that the majority of its inhabitants were women who were ungrateful."Someone asked, "Are they ungrateful to Allah?"He replied, "They are ungrateful to their husbands and ungrateful for kindness shown to them. Even if you were to treat one of them well your entire life, then she saw something from you she disliked, she would say, 'I have never seen any good from you.'"

Bukhari 29

Sahih

حدثنا عبد الله بن مسلمة عن مالك عن زيد بن أسلم عن عطاء بن يسار

عن ابن عباس قال

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

البخاري 29صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Faith
Chapter
Ingratitude toward one's husband and lesser disbelief
Numbering
Darussalam 29
Bukhari 29