عَنْ أَنَسِ بْنِ مَالِكٍ رَضِيَ اللَّهُ عَنْهُ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ كَانَ يَلْقَى رَجُلًا فَيَقُولُ يَا فُلَانُ كَيْفَ أَنْتَ فَيَقُولُ بِخَيْرٍ أَحْمَدُ اللَّهَ فَيَقُولُ لَهُ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ جَعَلَكَ اللَّهُ بِخَيْرٍ فَلَقِيَهُ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ ذَاتَ يَوْمٍ فَقَالَ كَيْفَ أَنْتَ يَا فُلَانُ فَقَالَ بِخَيْرٍ إِنْ شَكَرْتُ قَالَ فَسَكَتَ عَنْهُ فَقَالَ يَا نَبِيَّ اللَّهِ إِنَّكَ كُنْتَ تَسْأَلُنِي فَتَقُولُ جَعَلَكَ اللَّهُ بِخَيْرٍ وَإِنَّكَ الْيَوْمَ سَكَتَّ عَنِّي فَقَالَ لَهُ إِنِّي كُنْتُ أَسْأَلُكَ فَتَقُولُ بِخَيْرٍ أَحْمَدُ اللَّهَ فَأَقُولُ جَعَلَكَ اللَّهُ بِخَيْرٍ وَإِنَّكَ الْيَوْمَ قُلْتَ إِنْ شَكَرْتُ فَشَكَكْتَ فَسَكَتُّ عَنْكَ
It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) would meet a man and ask him: O so-and-so! How are you? He would reply: I am well and I praise Allah Almighty. The Prophet (peace and blessings be upon him) would respond to him: May Allah keep you in well-being. Then one day the Noble Prophet (peace and blessings be upon him) met him and asked: How are you? He replied: If I am grateful, then I am well. The Prophet (peace and blessings be upon him) remained silent in response. He said: O Messenger of Allah! Whenever you used to ask me before, you would pray for me that may Allah keep you in well-being, but today you remained silent. The Prophet (peace and blessings be upon him) said: Previously, when I would ask you, you would say that you are well and you praise Allah Almighty, and I would respond that may Allah keep you in well-being. But today you said, if I am grateful, then I am well, so you expressed doubt, therefore I remained silent.