´It was narrated that Abu 'Umamah Al-Bahili said:` "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.'"
Hadith Referenceسنن نسائي / كتاب الجهاد / 3142
Hadith Gradingالألبانی:حسن صحيح | زبیر علی زئی:ضعيف، إسناده ضعيف، عكرمة بن عمار مدلس وعنعن. ولحديثه شاهد ضعيف، جدًا عند الطبراني فى الكبير (8/ 165 ح 7628) انوار الصحيفه، صفحه نمبر 345