أَخْبَرَنَا أَبُو عَبْدِ اللَّهِ الْحَافِظُ وَمُحَمَّدُ بْنُ مُوسَى قَالَا حَدَّثَنَا أَبُو الْعَبَّاسِ الْأَصَمُّ ، حَدَّثَنَا أَحْمَدُ بْنُ عَبْدِ الْجَبَّارِ ، حَدَّثَنَا حَفْصُ بْنُ غِيَاثٍ ، عَنْ إِسْمَاعِيلَ ، عَنِ الْحَسَنِ قَالَ : قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " مَنْ صَلَّى صَلَاةً لَمْ تَأْمُرْهُ بِالْمَعْرُوفِ ، وَلَمْ تَنْهَهُ عَنِ الْفَحْشَاءِ وَالْمُنْكَرِ ، لَمْ يَزْدَدْ بِهَا مِنَ اللَّهِ إِلَّا بُعْدًا " .
It is narrated from Imam al-Hasan al-Basri (may Allah have mercy on him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever's prayer does not command him to do good and does not stop him from indecency and wrongdoing, he only increases in distance from Allah because of that prayer."