“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.’” (Using translation from Ibn Mājah 3975)
عَنْ أَبِي الشَّعْثَاءِ قَالَقِيلَ لِابْنِ عُمَرَ إِنَّا نَدْخُلُ عَلَى أُمَرَائِنَا فَنَقُولُ الْقَوْلَ فَإِذَا خَرَجْنَا قُلْنَا غَيْرَهُ فَقَالَ كُنَّا نَعُدُّ هَذَا عَلَى عَهْدِ رَسُولِ اللهِ ﷺ النِّفَاقَ