Language:
كتاب الأحكام
93  
Judgments (Ahkaam)
(27)
Chapter: Praising the Sultan and saying differently after leaving him
(27)
باب مَا يُكْرَهُ مِنْ ثَنَاءِ السُّلْطَانِ، وَإِذَا خَرَجَ قَالَ غَيْرَ ذَلِكَ
Sahih al-Bukhari 7179

Narrated Abu Huraira:

Allah's Messenger (ﷺ)s said, "The worst of all mankind is the double-faced one, who comes to some people with one face and to others, with another face."

حَدَّثَنَا قُتَيْبَةُ، حَدَّثَنَا اللَّيْثُ، عَنْ يَزِيدَ بْنِ أَبِي حَبِيبٍ، عَنْ عِرَاكٍ، عَنْ أَبِي هُرَيْرَةَ، أَنَّهُ سَمِعَ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏ "‏ إِنْ شَرَّ النَّاسِ ذُو الْوَجْهَيْنِ، الَّذِي يَأْتِي هَؤُلاَءِ بِوَجْهٍ وَهَؤُلاَءِ بِوَجْهٍ ‏"‏‏.‏
Reference : Sahih al-Bukhari 7179
In-book reference : Book 93, Hadith 42
USC-MSA web (English) reference : Vol. 9, Book 89, Hadith 290
  (deprecated numbering scheme)