Sahl bin Saad reported,

The Messenger of Allah ﷺ came to us while we were digging the trench and carrying the dirt on our shoulders. The Messenger of Allah ﷺ said, "O Allah, there is no life except the life of the hereafter, so forgive the Emigrants and the Helpers."

Muslim 4672

Sahih

حدثنا عبد الله بن مسلمة القعنبي حدثنا عبد العزيز بن أبي حازم عن أبيه

عن سهل بن سعد قال

جاءنا رسول الله ﷺ ونحن نحفر الخندق وننقل التراب على أكتافنا فقال رسول الله ﷺ اللهم لا عيش إلا عيش الآخرة فاغفر للمهاجرين والأنصار

مسلم 4672صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Jihad and expeditions
Chapter
Expedition of Ahzab, which is the Trench
Numbering
Darussalam 4672
Muslim 4672