Judgments (Ahkaam)
Bukhari :: Book 9 :: Volume 89 :: Hadith 289
Narrated Muhammad bin Zaid bin Abdullah bin 'Umar:
Some people said to Ibn 'Umar, "When we enter upon our ruler(s) we say in their praise what is contrary to what we say when we leave them." Ibn 'Umar said, "We used to consider this as hypocrisy."