Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:7178Abū Nuʿaym > ʿĀṣim b. Muḥammad b. Zayd b. ʿAbdullāh b. ʿUmar from his father

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."  

البخاري:٧١٧٨حَدَّثَنَا أَبُو نُعَيْمٍ حَدَّثَنَا عَاصِمُ بْنُ مُحَمَّدِ بْنِ زَيْدِ بْنِ عَبْدِ اللَّهِ بْنِ عُمَرَ عَنْ أَبِيهِ قَالَ

أُنَاسٌ لاِبْنِ عُمَرَ إِنَّا نَدْخُلُ عَلَى سُلْطَانِنَا فَنَقُولُ لَهُمْ خِلاَفَ مَا نَتَكَلَّمُ إِذَا خَرَجْنَا مِنْ عِنْدِهِمْ قَالَ كُنَّا نَعُدُّهَا نِفَاقًا  


See similar narrations below:

Collected by Bayhaqī
bayhaqi:16661Abū ʿAbdullāh al-Ḥāfiẓ > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > Jaʿfar b. Muḥammad b. Shākir > Muḥammad b. Sābiq > ʿĀṣim b. Muḥammad from his father

[Machine] A man said to Ibn Umar, "Indeed, we enter upon our ruler and speak against him, but when we leave their presence, we consider it as hypocrisy."  

البيهقي:١٦٦٦١أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثَنَا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثَنَا جَعْفَرُ بْنُ مُحَمَّدِ بْنِ شَاكِرٍ ثَنَا مُحَمَّدُ بْنُ سَابِقٍ ثَنَا عَاصِمُ بْنُ مُحَمَّدٍ عَنْ أَبِيهِ قَالَ

قَالَ رَجُلٌ لِابْنِ عُمَرَ إِنَّا نَدْخُلُ عَلَى سُلْطَانِنَا فَنَقُولُ مَا نَتَكَلَّمُ بِخِلَافِهِ إِذَا خَرَجْنَا مِنْ عِنْدِهِمْ قَالَ كُنَّا نَعُدُّ هَذَا نِفَاقًا  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ أَبِي نُعَيْمٍ عَنْ عَاصِمِ بْنِ مُحَمَّدِ بْنِ زَيْدِ بْنِ عَبْدِ اللهِ بْنِ عُمَرَ