Sahih al-Bukhari, Book 56, Hadith 10 (Bukhari 2679)

Narrated Anas bin Malik:

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."