Sahih al-Bukhari
Sahih al-Bukhari 7201
حَدَّثَنَا عَمْرُو بْنُ عَلِيٍّ، حَدَّثَنَا خَالِدُ بْنُ الْحَارِثِ، حَدَّثَنَا حُمَيْدٌ، عَنْ أَنَسٍ ـ رضى الله عنه ـ خَرَجَ النَّبِيُّ صلى الله عليه وسلم فِي غَدَاةٍ بَارِدَةٍ وَالْمُهَاجِرُونَ وَالأَنْصَارُ يَحْفِرُونَ الْخَنْدَقَ فَقَالَ " اللَّهُمَّ إِنَّ الْخَيْرَ خَيْرُ الآخِرَهْ فَاغْفِرْ لِلأَنْصَارِ وَالْمُهَاجِرَهْ " فَأَجَابُوا نَحْنُ الَّذِينَ بَايَعُوا مُحَمَّدَا عَلَى الْجِهَادِ مَا بَقِينَا أَبَدَا
Anas reported: The Prophet came out on a cold morning while the Emigrants and the Helpers were digging the trench. He said, “O God, the true good is the good of the Hereafter; so forgive the Helpers and the Emigrants.” They answered, “We are the ones who pledged to Muḥammad that we would strive as long as we live.”
Translation notes
The Prophet’s supplication and the companions’ response are rendered as quoted speech. The source uses a rhyming form in the prayer; the translation preserves its meaning and the named groups.