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:12850Wakīʿ > Ḥammād b. Salamah > Abū al-Tayyāḥ al-Ḍubaʿī > Anas b. Mālik

[Machine] I heard the Messenger of Allah ﷺ saying while his companions were constructing the mosque, "Indeed, the life of the hereafter is the true life, so forgive the Ansar and Muhajireen."  

أحمد:١٢٨٥٠حَدَّثَنَا وَكِيعٌ حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ عَنْ أَبِي التَّيَّاحِ الضُّبَعِيِّ عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ

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


See similar narrations below:

Collected by Muslim
muslim:1805aMuḥammad b. al-Muthanná And Ibn Bashhār And al-Lafẓ Ibn al-Muthanná > Muḥammad b. Jaʿfar > Shuʿbah > Muʿāwiyah b. Qurrah > Anas b. Mālik

O God, there is no life, but the life of the Hereafter, So forgive Thou the Ansar and the Muhajirs.  

مسلم:١٨٠٥aوَحَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى وَابْنُ بَشَّارٍ وَاللَّفْظُ لاِبْنِ الْمُثَنَّى حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ حَدَّثَنَا شُعْبَةُ عَنْ مُعَاوِيَةَ بْنِ قُرَّةَ عَنْ أَنَسِ بْنِ مَالِكٍ

عَنِ النَّبِيِّ ﷺ أَنَّهُ قَالَ اللَّهُمَّ لاَ عَيْشَ إِلاَّ عَيْشُ الآخِرَهْ فَاغْفِرْ لِلأَنْصَارِ وَالْمُهَاجِرَهْ