Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:12732Muḥammad b. Jaʿfar > Shuʿbah > Ḥumayd > Anas b. Mālik

[Machine] The Ansar said, "We are the ones who pledged allegiance to Muhammad for jihad, and we will never cease to exist." The Messenger of Allah ﷺ replied, "O Allah, the best is the best in the hereafter. So forgive the Ansar and the Muhajireen."  

أحمد:١٢٧٣٢حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ حَدَّثَنَا شُعْبَةُ عَنْ حُمَيْدٍ قَالَ سَمِعْتُ أَنَسَ بْنَ مَالِكٍ قَالَ

قَالَتِ الْأَنْصَارُ نَحْنُ الَّذِينَ بَايَعُوا مُحَمَّدَا عَلَى الْجِهَادِ مَا بَقِينَا أَبَدَا فَأَجَابَهُمْ رَسُولُ اللهِ ﷺ اللهُمَّ إِنَّ الْخَيْرَ خَيْرُ الْآخِرَهْ فَاغْفِرْ لِلْأَنْصَارِ وَالْمُهَاجِرَهْ  


See similar narrations below:

Collected by Bukhārī, Muslim, Aḥmad, Nasāʾī's Kubrá, Bayhaqī, Suyūṭī
bukhari:2961Ḥafṣ b. ʿUmar > Shuʿbah > Ḥumayd > Anas > Kānat al-Anṣār Yawm al-Khandaq

On the day (of the battle) of the Trench, the Ansar were saying, "We are those who have sworn allegiance to Muhammad for Jihaid (for ever) as long as we live." The Prophet ﷺ replied to them, "O Allah! There is no life except the life of the Hereafter. So honor the Ansar and emigrants with Your Generosity."  

البخاري:٢٩٦١حَدَّثَنَا حَفْصُ بْنُ عُمَرَ حَدَّثَنَا شُعْبَةُ عَنْ حُمَيْدٍ قَالَ سَمِعْتُ أَنَسًا ؓ يَقُولُ

كَانَتِ الأَنْصَارُ يَوْمَ الْخَنْدَقِ تَقُولُ نَحْنُ الَّذِينَ بَايَعُوا مُحَمَّدَا عَلَى الْجِهَادِ مَا حَيِينَا أَبَدَا فَأَجَابَهُمُ النَّبِيُّ ﷺ فَقَالَ: «اللَّهُمَّ لاَ عَيْشَ إِلاَّ عَيْشُ الآخِرَهْ، فَأَكْرِمِ الأَنْصَارَ وَالْمُهَاجِرَهْ۔»  

bukhari:3796Ādam > Shuʿbah > Ḥumayd al-Ṭawīl > Anas b. Mālik > Kānat al-Anṣār Yawm al-Khandaq

On the day of the battle of the Trench (i.e. Ghazwat-ul-Khandaq) the Ansar used to say, "We are those who have given the pledge of allegiance to Muhammad for Jihad (i.e. holy fighting) as long as we live." The Prophet ﷺ , replied to them, "O Allah! There is no life except the life of the Hereafter; so please honor the Ansar and the Emigrants."  

البخاري:٣٧٩٦حَدَّثَنَا آدَمُ حَدَّثَنَا شُعْبَةُ عَنْ حُمَيْدٍ الطَّوِيلِ سَمِعْتُ أَنَسَ بْنَ مَالِكٍ ؓ قَالَ

كَانَتِ الأَنْصَارُ يَوْمَ الْخَنْدَقِ تَقُولُ نَحْنُ الَّذِينَ بَايَعُوا مُحَمَّدَا عَلَى الْجِهَادِ مَا حَيِينَا أَبَدَا فَأَجَابَهُمُ اللَّهُمَّ لاَ عَيْشَ إِلاَّ عَيْشُ الآخِرَهْ فَأَكْرِمِ الأَنْصَارَ وَالْمُهَاجِرَهْ  

bukhari:2835Abū Maʿmar > ʿAbd al-Wārith > ʿAbd al-ʿAzīz > Anas

The Emigrants and the Ansar started digging the trench around Medina carrying the earth on their backs and saying, "We are those who have given a pledge of allegiance to Muhammad that we will I carry on Jihad as long as we live." The Prophet ﷺ kept on replying, "O Allah, there is no good except the good of the Hereafter; so confer Your Blessings on the Ansar and the Emigrants."  

البخاري:٢٨٣٥حَدَّثَنَا أَبُو مَعْمَرٍ حَدَّثَنَا عَبْدُ الْوَارِثِ حَدَّثَنَا عَبْدُ الْعَزِيزِ عَنْ أَنَسٍ ؓ قَالَ

جَعَلَ الْمُهَاجِرُونَ وَالأَنْصَارُ يَحْفِرُونَ الْخَنْدَقَ حَوْلَ الْمَدِينَةِ وَيَنْقُلُونَ التُّرَابَ عَلَى مُتُونِهِمْ وَيَقُولُونَ نَحْنُ الَّذِينَ بَايَعُوا مُحَمَّدًا عَلَى الإِسْلاَمِ مَا بَقِينَا أَبَدًا وَالنَّبِيُّ ﷺ يُجِيبُهُمْ وَيَقُولُ اللَّهُمَّ إِنَّهُ لاَ خَيْرَ إِلاَّ خَيْرُ الآخِرَهْ فَبَارِكْ فِي الأَنْصَارِ وَالْمُهَاجِرَهْ  

bukhari:7201ʿAmr b. ʿAlī > Khālid b. al-Ḥārith > Ḥumayd > Anas

The Prophet ﷺ went out on a cold morning while the Muhajirin (emigrants) and the Ansar were digging the trench. The Prophet ﷺ then said, "O Allah! The real goodness is the goodness of the Here after, so please forgive the Ansar and the Muhajirin." They replied, "We are those who have given the Pledge of allegiance to Muhammad for to observe Jihad as long as we remain alive."  

البخاري:٧٢٠١حَدَّثَنَا عَمْرُو بْنُ عَلِيٍّ حَدَّثَنَا خَالِدُ بْنُ الْحَارِثِ حَدَّثَنَا حُمَيْدٌ

عَنْ أَنَسٍ ؓ خَرَجَ النَّبِيُّ ﷺ فِي غَدَاةٍ بَارِدَةٍ وَالْمُهَاجِرُونَ وَالأَنْصَارُ يَحْفِرُونَ الْخَنْدَقَ فَقَالَ اللَّهُمَّ إِنَّ الْخَيْرَ خَيْرُ الآخِرَهْ فَاغْفِرْ لِلأَنْصَارِ وَالْمُهَاجِرَهْ فَأَجَابُوا نَحْنُ الَّذِينَ بَايَعُوا مُحَمَّدَا عَلَى الْجِهَادِ مَا بَقِينَا أَبَدَا  

muslim:1805dMuḥammad b. Ḥātim > Bahz > Ḥammād b. Salamah > Thābit > Anas

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 Prophet ﷺ was chanting: O God, the real good is the good of the Hereafter, So forgive Thou the Ansar and the Muhajirs.  

مسلم:١٨٠٥dحَدَّثَنِي مُحَمَّدُ بْنُ حَاتِمٍ حَدَّثَنَا بَهْزٌ حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ حَدَّثَنَا ثَابِتٌ عَنْ أَنَسٍ

أَنَّ أَصْحَابَ مُحَمَّدٍ ﷺ كَانُوا يَقُولُونَ يَوْمَ الْخَنْدَقِ نَحْنُ الَّذِينَ بَايَعُوا مُحَمَّدًا عَلَى الإِسْلاَمِ مَا بَقِينَا أَبَدًا أَوْ قَالَ عَلَى الْجِهَادِ شَكَّ حَمَّادٌ وَالنَّبِيُّ ﷺ يَقُولُ اللَّهُمَّ إِنَّ الْخَيْرَ خَيْرُ الآخِرَهْ فَاغْفِرْ لِلأَنْصَارِ وَالْمُهَاجِرَهْ  

ahmad:12951ʿAbīdah > Ḥumayd al-Ṭawīl > Anas b. Mālik

[Machine] The Prophet ﷺ went out one morning during a pleasant or cold day, and he saw the emigrants and the ansar digging the trench. He said, "O Allah, the good is the good of the Hereafter, so forgive the ansar and the emigrants." And they responded to him. [Al-Bahr ar-Rajz] We are the ones who pledged allegiance to Muhammad for Jihad, and we will never go back on it.  

أحمد:١٢٩٥١حَدَّثَنَا عَبِيدَةُ عَنْ حُمَيْدٍ الطَّوِيلِ عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ

خَرَجَ النَّبِيُّ ﷺ فِي غَدَاةٍ قَرَّةٍ أَوْبَارِدَةٍ فَإِذَا الْمُهَاجِرُونَ وَالْأَنْصَارُ يَحْفِرُونَ الْخَنْدَقَ فَقَالَ اللهُمَّ إِنَّ الْخَيْرَ خَيْرُ الْآخِرَهْ فَاغْفِرْ لِلْأَنْصَارِ وَالْمُهَاجِرَهْ فَأَجَابُوهُ[البحر الرجز]نَحْنُ الَّذِينَ بَايَعُوا مُحَمَّدَا عَلَى الْجِهَادِ مَا بَقِينَا أَبَدَا  

ahmad:13127Ibn Abū ʿAdī > Ḥumayd > Anas

[Machine] The Messenger of Allah ﷺ and the immigrants went out to dig the trench on a cold morning. Anas narrated that they did not have servants, so the Messenger of Allah ﷺ said, "O Allah, indeed the good is only the good of the Hereafter, so forgive the Ansar and the Muhajireen." They responded, "We are the ones who pledged allegiance to Muhammad for jihad, we will never retreat."  

أحمد:١٣١٢٧حَدَّثَنَا ابْنُ أَبِي عَدِيٍّ عَنْ حُمَيْدٍ عَنْ أَنَسٍ قَالَ

خَرَجَ رَسُولُ اللهِ ﷺ وَالْمُهَاجِرُونَ يَحْفِرُونَ الْخَنْدَقَ فِي غَدَاةٍ بَارِدَةٍ قَالَ أَنَسٌ وَلَمْ يَكُنْ لَهُمْ خَدَمٌ فَقَالَ رَسُولُ اللهِ ﷺ اللهُمَّ إِنَّمَا الْخَيْرُ خَيْرُ الْآخِرَهْ فَاغْفِرْ لِلْأَنْصَارِ وَالْمُهَاجِرَهْ قَالَ فَأَجَابُوهُ[البحر الرجز]نَحْنُ الَّذِينَ بَايَعُوا مُحَمَّدَا عَلَى الْجِهَادِ مَا بَقِينَا أَبَدَاأوْ لَا نَفِرُّ  

nasai-kubra:8808ʿAmr b. ʿAlī And Muḥammad b. al-Muthanná > Khālid > Ḥumayd > Anas

The Prophet ﷺ went out on a cold morning while the Muhajirin (emigrants) and the Ansar were digging the trench. The Prophet ﷺ then said, "O Allah! The real goodness is the goodness of the Here after, so please forgive the Ansar and the Muhajirin." They replied, "We are those who have given the Pledge of allegiance to Muhammad for to observe Jihad as long as we remain alive." (Using translation from Bukhārī 7201)   

الكبرى للنسائي:٨٨٠٨أَخْبَرَنَا عَمْرُو بْنُ عَلِيٍّ وَمُحَمَّدُ بْنُ الْمُثَنَّى عَنْ خَالِدٍ قَالَ حَدَّثَنَا حُمَيْدٌ عَنْ أَنَسٍ قَالَ

خَرَجَ النَّبِيُّ ﷺ فِي غَدَاةٍ بَارِدَةٍ وَالْمُهَاجِرُونَ وَالْأَنْصَارُ يَعْنِي يَحْفِرُونَ الْخَنْدَقَ فَقَالَ «اللهُمَّ إِنَّ الْخَيْرَ خَيْرُ الْآخِرَهْ فَاغْفِرْ لِلْأَنْصَارِ وَالْمُهَاجِرَهْ» فَأَجَابُوهُ [البحر الرجز] نَحْنُ الَّذِينَ بَايَعُوا مُحَمَّدَا عَلَى الْجِهَادِ مَا بَقِينَا أَبَدَا  

bayhaqi:13292Abū Ṭāhir al-Faqīh from Aṣl Samāʿih > Abū al-Faḍl ʿAbdūs b. al-Ḥusayn b. Manṣūr al-Simsār al-Naysābūrī > Abū Ḥātim Muḥammad b. Idrīs al-Rāzī > Muḥammad b. ʿAbdullāh al-Anṣārī > Ḥumayd al-Ṭawīl > Anas b. Mālik

The Prophet ﷺ went out on a cold morning while the Muhajirin (emigrants) and the Ansar were digging the trench. The Prophet ﷺ then said, "O Allah! The real goodness is the goodness of the Here after, so please forgive the Ansar and the Muhajirin." They replied, "We are those who have given the Pledge of allegiance to Muhammad for to observe Jihad as long as we remain alive." (Using translation from Bukhārī 7201)   

البيهقي:١٣٢٩٢أَخْبَرَنَا أَبُو طَاهِرٍ الْفَقِيهُ مِنْ أَصْلِ سَمَاعِهِ أنبأ أَبُو الْفَضْلِ عَبْدُوسُ بْنُ الْحُسَيْنِ بْنِ مَنْصُورٍ السِّمْسَارُ النَّيْسَابُورِيُّ ثنا أَبُو حَاتِمٍ مُحَمَّدُ بْنُ إِدْرِيسَ الرَّازِيُّ ثنا مُحَمَّدُ بْنُ عَبْدِ اللهِ الْأَنْصَارِيُّ حَدَّثَنِي حُمَيْدٌ الطَّوِيلُ عَنْ أَنَسِ بْنِ مَالِكٍ ؓ قَالَ

خَرَجَ رَسُولُ اللهِ ﷺ فِي غَدَاةٍ بَارِدَةٍ وَالْمُهَاجِرُونَ وَالْأَنْصَارُ يَحْفِرُونَ الْخَنْدَقَ فَقَالَ اللهُمَّ إِنَّ الْخَيْرَ خَيْرُ الْآخِرَةِ فَاغْفِرْ لِلْأَنْصَارِ وَالْمُهَاجِرَةِ فَأَجَابُوهُ [البحر الرجز] نَحْنُ الَّذِينَ بَايَعُوا مُحَمَّدَا عَلَى الْجِهَادِ مَا بَقِينَا أَبَدَا  

أَخْرَجَهُ الْبُخَارِيُّ مِنْ أَوْجُهٍ عَنْ حُمَيْدٍ
suyuti:85-69b
Request/Fix translation

  

السيوطي:٨٥-٦٩b

"خَرَجَ رَسُولُ اللهِ ﷺ غَدَاةً بارِدَةً والمُهَاجِرُونَ يَحْفُرُونَ الخَنْدَقَ، فَلَمَّا نَظَر إلَيْهِمْ قَالَ: أَلاَ إِنَّ العَيْشَ عَيْشُ الآخرَةِ، فَاغْفِرْ لِلأَنْصَارِ والمُهَاجِرَةِ، فَأجَابُوا: نَحْنُ الذِين بَايَعُوا مُحَمَّدًا عَلَى الجهَاد مَا بَقينَا أَبدًا".  

[ش] ابن أبى شيبة