The Prophet (ﷺ) said, "A single endeavor (of fighting) in Allah's Cause in the forenoon or in the afternoon is better than the world and whatever is in it."
Sahih al-Bukhari Book 56, Hadith 10