Sahih al-Bukhari, Book 64, Hadith 142 (Bukhari 3926)

Narrated Sahl bin Sa`d:

We were with Allah's Messenger (ﷺ) in the Trench, and some were digging the trench while we were carrying the earth on our shoulders. Allah's Messenger (ﷺ) said, 'O Allah! There is no life except the life of the Hereafter, so please forgive the Emigrants and the Ansar."