Hadith 12732

(حديث مرفوع) حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ ، حَدَّثَنَا شُعْبَةُ ، عَنْ حُمَيْدٍ ، قَالَ : سَمِعْتُ أَنَسَ بْنَ مَالِكٍ قَالَ : قَالَتْ الْأَنْصَارُ : نَحْنُ الَّذِينَ بَايَعُوا مُحَمَّدًا عَلَى الْجِهَادِ مَا بَقِينَا أَبَدًا فَأَجَابَهُمْ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " اللَّهُمَّ إِنَّ الْخَيْرَ خَيْرُ الْآخِرَهْ فَاغْفِرْ لِلْأَنْصَارِ وَالْمُهَاجِرَهْ " .
It is narrated from Hazrat Anas (may Allah be pleased with him) that the Ansar used to say, "We are the ones who pledged allegiance to Muhammad (peace be upon him) for jihad as long as we are alive." And the Prophet (peace be upon him) used to reply, "O Allah! The good of the Hereafter is the real good, so forgive the Ansar and the Muhajireen."
Hadith Reference مسند احمد / مسند المكثرين من الصحابة / 12732
Hadith Grading حکم دارالسلام: إسناده صحيح، خ: 2961، م: 1805