أَخْبَرَنَا أَبُو عَبْدِ اللَّهِ الْحَافِظُ وَأَبُو بَكْرٍ أَحْمَدُ بْنُ الْحَسَنِ قَالَا : حَدَّثَنَا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ، حَدَّثَنَا الْحَسَنُ بْنُ عَلِيِّ بْنِ عَفَّانَ ، حَدَّثَنَا عُبَيْدُ اللَّهِ هُوَ ابْنُ مُوسَى ، حَدَّثَنَا قَطَرِيٌّ الْخَشَّابُ ، عَنْ عَبْدِ الْوَارِثِ مَوْلَى أَنَسٍ قَالَ : قَالَ أَنَسٌ : قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " إِذَا كَانَ يَوْمُ الْقِيَامَةِ صَارَتْ أُمَّتِي ثَلَاثَ فِرَقٍ ، فِرْقَةٌ يَعْبُدُونَ اللَّهَ خَالِصًا ، وَفِرْقَةٌ يَعْبُدُونَ اللَّهَ عَزَّ وَجَلَّ رِيَاءً ، وَفِرْقَةٌ يَعْبُدُونَ اللَّهَ يُصِيبُونَ بِهِ دُنْيَا ، قَالَ : فَيَقُولُ لِلَّذِي كَانَ يَعَبُدُ اللَّهَ عَزَّ وَجَلَّ لِلدُّنْيَا : بِعِزَّتِي وَجَلَالِي مَا أَرَدْتَ بِعِبَادَتِي ؟ فَيَقُولُ : الدُّنْيَا ، فَيَقُولُ : لَا جَرَمَ ، وَلَا يَنْفَعُكَ مَا جَمَعْتَ وَلَا تَرْجِعُ إِلَيْهِ ، انْطَلِقُوا بِهِ إِلَى النَّارِ ، قَالَ : وَيَقُولُ لِلَّذِي يَعَبُدُ اللَّهَ رِيَاءً : بِعِزَّتِي وَجَلَالِي مَا أَرَدْتَ بِعِبَادَتِي ؟ قَالَ : الرِّيَاءَ ، قَالَ : فَيَقُولُ : إِنَّمَا كَانَتْ عِبَادَتُكَ الَّتِي كُنْتَ تُرَائِي بِهَا لَمْ يَصْعَدْ إِلَيَّ مِنْهَا شَيْءٌ ، وَلَا تَنْفَعُكَ الْيَوْمَ ، انْطَلِقُوا بِهِ إِلَى النَّارِ ، قَالَ : وَيَقُولُ لِلَّذِي كَانَ يَعَبُدُ اللَّهَ عَزَّ وَجَلَّ خَالِصًا : بِعِزَّتِي وَجَلَالِي مَا أَرَدْتَ بِعِبَادَتِي ؟ فَيَقُولُ : بِعِزَّتِكَ وَجَلَالِكَ لَأَنْتَ أَعْلَمُ بِهِ مِنِّي كُنْتُ أَعْبُدُكَ لِوَجْهِكَ وَلِدَارِكَ ، فَقَالَ : صَدَقَ عَبْدِي انْطَلِقُوا بِهِ إِلَى الْجَنَّةِ " .
Sayyiduna Anas (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) said: "On the Day of Resurrection my Ummah will be divided into three groups: one group that used to worship Allah sincerely, a second group that used to worship Allah, the Mighty and Majestic, for show, and a third group that sought to gain worldly things through the worship of Allah." He (peace and blessings be upon him) said: "To the one who used to worship Allah, the Mighty and Majestic, for the sake of this world, Allah will say: 'By My might and My majesty! What did you intend by worshipping Me?' He will say: 'This world.' Allah will say: 'Inevitably (this is your end); what you gathered will not benefit you, nor will you return to it. Take him away to the Fire.'" Then he (peace and blessings be upon him) said: "And to the one who used to worship Allah for show, He will say: 'By My might and My majesty! What did you intend by worshipping Me?' He will say: 'Showing off.' Allah will say: 'Nothing of your worship that you used to perform for show has risen up to Me, and today it will not benefit you. Take him away to the Fire.'" Then he (peace and blessings be upon him) said: "And to the one who used to worship Allah, the Mighty and Majestic, sincerely, He will say: 'By My might and My majesty! What did you intend by worshipping Me?' He will say: 'By Your might and Your majesty! You know it better than I do; I used to worship You for the sake of Your Face (Your pleasure) and Your Abode (Paradise).' Allah will say: 'My servant has spoken the truth; take him to Paradise.'"