Hadithcore
Al-Adab Al-Mufrad, 1132

Anas ibn Malik reported that he heard 'Umar ibn al-Khattab being greeted by a man and he returned the greeting. Then 'Umar asked the man, "How are you?" The man replied, "I praise Allah to you." 'Umar said, :

This is what I wanted to hear from you."

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

References2 variants
In-Book Reference
Book 45, Hadith 16
English Reference
Book 45, Hadith 1132