حَدَّثَنِي مُحَمَّدُ بْنُ حَاتِمٍ حَدَّثَنَا بَهْزٌ حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ حَدَّثَنَا ثَابِتٌ عَنْ أَنَسٍ أَنَّ أَصْحَابَ مُحَمَّدٍ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانُوا يَقُولُونَ يَوْمَ الْخَنْدَقِ نَحْنُ الَّذِينَ بَايَعُوا مُحَمَّدًا عَلَى الْإِسْلَامِ مَا بَقِينَا أَبَدًا أَوْ قَالَ عَلَى الْجِهَادِ شَكَّ حَمَّادٌ وَالنَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ اللَّهُمَّ إِنَّ الْخَيْرَ خَيْرُ الْآخِرَهْ فَاغْفِرْ لِلْأَنْصَارِ وَالمُهَاجِرَهْ
Dan telah menceritakan kepadaku [Muhammad bin Hatim] telah menceritakan kepada kami [Bahz] telah menceritakan kepada kami [Hammad bin Salamah] telah menceritakan kepada kami [Tsabit] dari [Anas], bahwa ketika perang Khandaq para sahabat Muhammad shallallahu 'alaihi wasallam pernah mengatakan, "Kami adalah orang-orang yang pernah berbaiat kepada muhammad atas Islam, sehingga hayat masih dikandung badan, -atau dia mengatakan- 'atas jihad, ' Hammad ragu-ragu. Sedangkan Nabi shallallahu 'alaihi wasallam bersabda: "Ya Allah, sesungguhnya tidak ada kebaikan yang abadi melainkan kebaikan akhirat, maka ampunilah kaum Anshar dan Muhajirin." (HR. Muslim: 3370)
It has been narrated (through a still difterent chain of transmitters) by Anas that the Companions of Muhammad (may peace be upon him) were chanting on the day of the Battle of the Ditch: We are those who have sworn allegiance to Muhammad (And made a covenant with him) to follow Islam as long as we live. Hammad is not sure whether Anas said:" Ala'l-Islam" or," Ala'l-Jihad". And the Holy Prophet (may peace be upon him) was chanting: O God, the real good is the good of the Hereafter, So forgive Thou the Ansar and the Muhajirs. (Muslim: 3370)