Narrator:Anas ibn Mālik
حَدَّثَنَا آدَمُ، حَدَّثَنَا شُعْبَةُ، عَنْ حُمَيْدٍ الطَّوِيلِ، سَمِعْتُ أَنَسَ بْنَ مَالِكٍ ـ رضى الله عنه ـ قَالَ كَانَتِ
الأَنْصَارُ يَوْمَ الْخَنْدَقِ تَقُولُ نَحْنُ الَّذِينَ بَايَعُوا مُحَمَّدَا عَلَى الْجِهَادِ مَا حَيِينَا أَبَدَا فَأَجَابَهُمُ اللَّهُمَّ لاَ عَيْشَ إِلاَّ عَيْشُ الآخِرَهْ فَأَكْرِمِ الأَنْصَارَ وَالْمُهَاجِرَهْ
Narrated Anas bin Malik:
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."
Reported by Al-Bukhari (No. 3796, 428, 2834, 2835, 2961, 3795, 4099, 4100), Muslim (No. 1805a, 1805b, 1805c, 1805d), Abu Dawud (No. 453, 454), At-Tirmidhi (No. 3857), An-Nasa’i (No. 702), Ibn Majah (No. 742) and Ahmad (No. 11733, 12261, 12271, 12296, 12306, 12385, 12483, 12653).