Mishkat al-Masabih 205
وَعَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسلم: «إِن أول النَّاس يقْضى عَلَيْهِ يَوْمَ الْقِيَامَةِ رَجُلٌ اسْتُشْهِدَ فَأُتِيَ بِهِ فَعَرَّفَهُ نِعَمَهُ فَعَرَفَهَا قَالَ فَمَا عَمِلْتَ فِيهَا؟ قَالَ قَاتَلْتُ فِيكَ حَتَّى اسْتُشْهِدْتُ قَالَ كَذَبْتَ وَلَكِنَّكَ قَاتَلْتَ لِأَنْ يُقَالَ جَرِيءٌ فَقَدْ قِيلَ ثُمَّ أَمر بِهِ فسحب على وَجهه حَتَّى ألقِي فِي النَّارِ وَرَجُلٌ تَعَلَّمَ الْعِلْمَ وَعَلَّمَهُ وَقَرَأَ الْقُرْآنَ فَأُتِيَ بِهِ فَعَرَّفَهُ نِعَمَهُ فَعَرَفَهَا قَالَ فَمَا عَمِلْتَ فِيهَا قَالَ تَعَلَّمْتُ الْعِلْمَ وَعَلَّمْتُهُ وَقَرَأْتُ فِيكَ الْقُرْآنَ قَالَ كَذَبْتَ وَلَكِنَّكَ تَعَلَّمْتَ الْعلم ليقال عَالِمٌ وَقَرَأْتَ الْقُرْآنَ لِيُقَالَ هُوَ قَارِئٌ فَقَدْ قِيلَ ثُمَّ أُمِرَ بِهِ فَسُحِبَ عَلَى وَجْهِهِ حَتَّى أُلْقِيَ فِي النَّارِ وَرَجُلٌ وَسَّعَ اللَّهُ عَلَيْهِ وَأَعْطَاهُ مِنْ أَصْنَافِ الْمَالِ كُلِّهِ فَأُتِيَ بِهِ فَعَرَّفَهُ نِعَمَهُ فَعَرَفَهَا قَالَ فَمَا عَمِلْتَ فِيهَا؟ قَالَ مَا تَرَكْتُ مِنْ سَبِيلٍ تُحِبُّ أَنْ يُنْفَقَ فِيهَا إِلَّا أَنْفَقْتُ فِيهَا لَكَ قَالَ كَذَبْتَ وَلَكِنَّكَ فَعَلْتَ لِيُقَالَ هُوَ جَوَادٌ فَقَدْ قِيلَ ثُمَّ أُمِرَ بِهِ فَسُحِبَ عَلَى وَجْهِهِ ثُمَّ أُلْقِيَ فِي النَّارِ» . رَوَاهُ مُسْلِمٌ
And from him, who said: The Messenger of Allah ﷺ said: "The first of the people to be judged on the Day of Resurrection will be a man who was martyred. He will be brought, and [Allah] will make known to him His favours, and he will acknowledge them. He will say: 'What did you do with them?' He will say: 'I fought for You until I was martyred.' He will say: 'You have lied. Rather, you fought so that it would be said: He is brave. And it was said.' Then he will be ordered to be dragged on his face until he is thrown into the Fire. And a man who learned knowledge and taught it and recited the Quran. He will be brought, and He will make known to him His favours, and he will acknowledge them. He will say: 'What did you do with them?' He will say: 'I learned knowledge and taught it, and recited the Quran for You.' He will say: 'You have lied. Rather, you learned knowledge so that it would be said: He is a scholar; and you recited the Quran so that it would be said: He is a reciter. And it was said.' Then he will be ordered to be dragged on his face until he is thrown into the Fire. And a man whom Allah gave plenty and gave him all kinds of wealth. He will be brought, and He will make known to him His favours, and he will acknowledge them. He will say: 'What did you do with them?' He will say: 'I did not leave any way in which You love that wealth be spent except that I spent in it for You.' He will say: 'You have lied. Rather, you did it so that it would be said: He is generous. And it was said.' Then he will be ordered to be dragged on his face, then thrown into the Fire." Reported by Muslim.