Al-Adab Al-Mufrad, Book 42, Hadith 1047 (English)

Asma' was heard to say that the Prophet, may Allah bless him and grant him peace, passed by a group of women sitting down in the mosque. He said to the salam with his hand and said, "Beware of the ingratitude of those with blessings. Beware of the ingratitude of those with blessings." One of them said, "We seek refuge with Prophet, Prophet of Allah, from ingratitude for the blessings of Allah." He said, "Yes. One of you women might have been without a husband for a long time (and then Allah provides her with one) and she becomes angry and says, 'By Allah, I have never seen a hour of good from you. That is ingratitude for the blessings of Allah. That is the ingratitude of those with blessings.'"

حَدَّثَنَا مُحَمَّدُ بْنُ يُوسُفَ، قَالَ‏:‏ حَدَّثَنَا عَبْدُ الْحَمِيدِ بْنُ بَهْرَامَ، عَنْ شَهْرٍ قَالَ‏:‏ سَمِعْتُ أَسْمَاءَ، أَنَّ النَّبِيَّ صلى الله عليه وسلم مَرَّ فِي الْمَسْجِدِ، وَعُصْبَةٌ مِنَ النِّسَاءِ قُعُودٌ، قَالَ بِيَدِهِ إِلَيْهِنَّ بِالسَّلاَمِ، فَقَالَ‏:‏ إِيَّاكُنَّ وَكُفْرَانَ الْمُنْعِمِينَ، إِيَّاكُنَّ وَكُفْرَانَ الْمُنْعِمِينَ، قَالَتْ إِحْدَاهُنَّ‏:‏ نَعُوذُ بِاللَّهِ، يَا نَبِيَّ اللهِ، مِنْ كُفْرَانِ نِعَمِ اللهِ، قَالَ‏:‏ بَلَى إِنَّ إِحْدَاكُنَّ تَطُولُ أَيْمَتُهَا، ثُمَّ تَغْضَبُ الْغَضْبَةَ فَتَقُولُ‏:‏ وَاللَّهِ مَا رَأَيْتُ مِنْهُ سَاعَةً خَيْرًا قَطُّ، فَذَلِكَ كُفْرَانُ نِعَمِ اللهِ، وَذَلِكَ كُفْرَانُ نِعَمِ الْمُنْعِمِينَ‏.‏

sunnah.com