"A man came to the Prophet ﷺ and said: 'What do you think of a man who fights seeking reward and fame - what will he have?' The Messenger of Allah ﷺ said: 'He will not have anything.' He repeated it three times, and the Prophet ﷺ said to him: 'He will not have anything.' Then he said: 'Allah does not accept any deed, except that which is purely for Him, and seeking His Face.'" (Using translation from Nasāʾī 3140)
جَاءَ رَجُلٌ إِلَى النَّبِيِّ ﷺ فَقَالَ أَرَأَيْتَ رَجُلًا غَزَا يَلْتَمِسُ الْأَجْرَ وَالذِّكْرَ مَا لَهُ؟ فَقَالَ رَسُولُ اللهِ ﷺ «لَا شَيْءَ لَهُ» فَأَعَادَهَا ثَلَاثَ مَرَّاتٍ يَقُولُ لَهُ رَسُولُ اللهِ ﷺ «لَا شَيْءَ لَهُ» ثُمَّ قَالَ «إِنَّ اللهَ لَا يَقْبَلُ مِنَ الْعَمَلِ إِلَّا مَا كَانَ لَهُ خَالِصًا وَابْتُغِيَ بِهِ وَجْهُهُ»