حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللهِ الْحَضْرَمِيُّ، ثنا يَحْيَى بْنُ زَكَرِيَّا الْمُعَلِّمُ، ثنا أَبُو مُعَاوِيَةَ، عَنْ لَيْثٍ، عَنْ طَاوُسٍ، عَنِ ابْنِ عَبَّاسٍ رَضِي اللهُ عَنْهُمَا، قَالَ: قَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ: «مَنْ لَمْ تَنْهَهُ صَلَاتُهُ عَنِ الْفَحْشَاءِ وَالْمُنْكَرِ، لَمْ يَزْدَدْ مِنَ اللهِ إِلَّا بُعْدًا»
It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever's prayer does not restrain him from indecency and evil, he increases in nothing but distance from Allah."