Sunan Ibn Majah, Book 36, Hadith 50 (Ibn Majah 3978)

It was narrated that Abu Sha’tha said:

“It was said to Ibn ‘Umar: ‘We enter upon our rulers and say one thing, and when we leave we say something else.’ He said: ‘At the time of the Messenger of Allah (ﷺ), we used to regard that as hypocrisy.’”