Messenger of Allah, tell me about jihad and fighting. He replied: Abdullah ibn Amr, if you fight with endurance seeking from Allah your reward, Allah will resurrect you showing endurance and seeking your reward from Him, but, if you fight for vain show seeking to acquire much, Allah will resurrect you making a vain show and seeking to acquire much. In whatever you fight or are killed, Abdullah ibn Amr, in that state Allah will resurrect you.
عَبْدُ اللَّهِ بْنُ عَمْرٍو يَا رَسُولَ اللَّهِ أَخْبِرْنِي عَنِ الْجِهَادِ وَالْغَزْوِفَقَالَ يَا عَبْدَ اللَّهِ بْنَ عَمْرٍو إِنْ قَاتَلْتَ صَابِرًا مُحْتَسِبًا بَعَثَكَ اللَّهُ صَابِرًا مُحْتَسِبًا وَإِنْ قَاتَلْتَ مُرَائِيًا مُكَاثِرًا بَعَثَكَ اللَّهُ مُرَائِيًا مُكَاثِرًا يَا عَبْدَ اللَّهِ بْنَ عَمْرٍو عَلَى أَىِّ حَالٍ قَاتَلْتَ أَوْ قُتِلْتَ بَعَثَكَ اللَّهُ عَلَى تِيكَ الْحَالِ