وعن محمد بن زيدٍ: أنَّ ناسًا قالوا لِجَدِّهِ عبدِ اللهِ بن عمر رضي الله عنهم: إنَّا نَدْخُلُ عَلَى سَلاَطِيننَا فَنَقُولُ لَهُمْ بِخِلاَفِ مَا نَتَكَلَّمُ إِذَا خَرَجْنَا مِنْ عِنْدِهِمْ. قَالَ: كُنَّا نَعُدُّ هَذَا نِفَاقًا عَلَى عَهْدِ رسُولِ الله - صلى الله عليه وسلم. رواه البخاري.
It is narrated from Muhammad bin Zayd (may Allah have mercy on him) that some people said to his grandfather, Sayyiduna Abdullah bin Umar (may Allah be pleased with them both): "We go in to our rulers and say to them the opposite of what we say when we come out from them." He said: "In the time of the Messenger of Allah (peace and blessings be upon him), we used to count this as hypocrisy."
(Narrated by al-Bukhari)