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.
ahmad-zuhd:1472ʿAbdullāh from my father > Ismāʿīl > Yūnus

[Machine] Al-Hasan, may Allah have mercy on him, said, "I have met people who were not able to hide their actions and would announce them. They knew that the best deeds are the ones performed in secret, and that one of them would have falsehood present in him while he would be praying behind a person who is completely unaware of it."  

الزهد لأحمد:١٤٧٢حَدَّثَنَا عَبْدُ اللَّهِ حَدَّثَنَا أَبِي حَدَّثَنَا إِسْمَاعِيلُ حَدَّثَنَا يُونُسُ قَالَ

قَالَ الْحَسَنُ رَحِمَهُ اللَّهُ «أَدْرَكْتُ أَقْوَامًا مَا كَانَ أَحَدُهُمْ يَسْتَطِيعُ أَنْ يُسِرَّ عَمَلًا فَيُعْلِنَهُ قَدْ عَلِمُوا أَنَّ أَحْرَزَ الْعَمَلَيْنِ مِنَ الشَّيْطَانِ عَمَلُ السِّرِّ وَأَنَّ أَحَدَهُمْ لَيَكُونُ عِنْدَهُ الزُّورُ وَأَنَّهُ لَيُصَلِّي خَلْفَ الْوَجْهِ مَا يَعْلَمُ بِهِ زُورَهُ»