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:1556ʿAbdullāh from my father > Rawḥ > Hāshim

[Machine] In His saying, "Who show off" (those who pray), He said, "If they pray, they pray for showoff, and if they don't pray, they don't care about it."  

الزهد لأحمد:١٥٥٦حَدَّثَنَا عَبْدُ اللَّهِ حَدَّثَنَا أَبِي حَدَّثَنَا رَوْحٌ حَدَّثَنَا هَاشِمٌ عَنِ الْحَسَنِ

فِي قَوْلِهِ ﷻ {الَّذِينَ هُمْ يُرَاءُونَ} قَالَ «إِنْ صَلَّاهَا صَلَّاهَا رِيَاءً وَإِنْ لَمْ يُصَلِّهَا لَمْ يُبَالِهَا»