Hadith on Jihad: Only Allah knows who truly fights in his path

Abu Huraira reported: The Prophet, peace and blessings be upon him, said, “Allah knows best who wages jihad in his way, and Allah knows best who is wounded in his way.

Source: Ṣaḥīḥ al-Bukhārī 2742

Grade: Sahih (authentic) according to Al-Bukhari

Al-Zurqani said, “It means according to his intention. If it is purely to raise the word of Allah, then that is the true soldier (al-mujahid) in the way of Allah. If his intention involves the love of wealth and this world, or to earn fame, then he has associated the world as a partner with the way of Allah.”

Source: Sharḥ al-Zurqānī 3/4

عن أبي هريرة عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قال اللَّهُ أَعْلَمُ بِمَنْ يُجَاهِدُ فِي سَبِيلِهِ وَاللَّهُ أَعْلَمُ بِمَنْ يُكْلَمُ فِي سَبِيلِهِ

2742 صحيح البخاري كتاب الجهاد والسير باب لا يقول فلان شهيد

وقال الزرقاني أَيْ يَعْقِدُ نِيَّتَهُ إِنْ كَانَتْ خَالِصَةً لِإِعْلَاءِ كَلِمَتِهِ فَذَلِكَ الْمُجَاهِدُ فِي سَبِيلِهِ وَإِنْ كَانَ فِي نِيَّتِهِ حُبُّ الْمَالِ وَالدُّنْيَا وَاكْتِسَابُ الذِّكْرِ فَقَدْ أَشْرَكَ مَعَ سَبِيلِ اللَّهِ الدُّنْيَا

3/4 شرح الزرقاني على موطأ