ENOfficial
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."
Source: sunnah.com
Other translations
Arabic
حَدَّثَنِي قُتَيْبَةُ، حَدَّثَنَا عَبْدُ الْعَزِيزِ، عَنْ أَبِي حَازِمٍ، عَنْ سَهْلِ بْنِ سَعْدٍ ـ رضى الله عنه ـ قَالَ كُنَّا مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم فِي الْخَنْدَقِ، وَهُمْ يَحْفِرُونَ، وَنَحْنُ نَنْقُلُ التُّرَابَ عَلَى أَكْتَادِنَا، فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " اللَّهُمَّ لاَ عَيْشَ إِلاَّ عَيْشُ الآخِرَهْ، فَاغْفِرْ لِلْمُهَاجِرِينَ وَالأَنْصَارِ ".
sunnah.com