Sahl reported,

The Messenger of Allah ﷺ came to us while we were digging the trench and carrying the dirt on our backs. The Messenger of Allah ﷺ said, "O Allah, there is no life except the life of the Hereafter, so forgive the Muhajirun and the Ansar."

Bukhari 3797

Sahih

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

عن سهل قال

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

البخاري 3797صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Virtues of the Ansar
Chapter
Supplication of the Prophet ﷺ for the Ansar and Muhajirun
Numbering
Darussalam 3797
Bukhari 3797