It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) used to say: 'Inna al-'aysha 'aysh al-akhirah' (Indeed, the true life is only the life of the Hereafter).
Hajjaj (may Allah have mercy on him) said that Shu'bah (may Allah have mercy on him) mentioned (the words in this way): 'Inna al-khayra khayr al-akhirah, Allahumma inna al-'aysha 'aysh al-akhirah, faghfir lil-Ansar wal-Muhajirah' (Indeed, the real good is only the good of the Hereafter. O Allah, truly the real life is only the life of the Hereafter, so forgive the Ansar and the Muhajirun).
Hadith Takhrij«حکم الحدیث فضائل الصحابہ محققاً تنسیق وصي الله بن محمد عباس - مکتبہ شاملہ :قال وصي الله عباس: إسناده صحيح . وهو في البخاري (٧ : ١١٨) عن أنس مختصراً بلفظ لا عيش إلا عيش الآخرة . . » «أخرجه صحيح البخاري برقم: 2679، وأخرجه صحيح مسلم برقم: 1805، 3370، وأخرجه سنن الترمذي برقم: 3857، وأخرجه سنن ابن ماجه برقم: 742، وأخرجه مسند أحمد برقم: 11768، 12311، 12321، 12439، 12539، 12714، 12779، 12796، 12846، 13149، 13234، 13509، 13543، 13654، وأخرجه فتح الباري برقم: 2619، 3694، 3873، 6082، 6775، وأخرجه المستدرك على الصحيحين برقم: 7205، وأخرجه صحيح ابن خزيمة برقم: 788، وأخرجه صحيح ابن حبان برقم: 7259، وأخرجه شرح السنة برقم: 3791» «صحيح البخاري: 118/7»
It is narrated from Sayyiduna Anas (may Allah be pleased with him) that he said: "The Messenger of Allah (peace and blessings be upon him) came out while the Muhajirun were digging the trench on a bitterly cold morning. Sayyiduna Anas (may Allah be pleased with him) said: They had no servants (slaves) (to do this work). Then the Messenger of Allah (peace and blessings be upon him) said: 'Allahumma innama al-khayru khayr al-akhirah, faghfir lil-Ansar wal-Muhajirah' (O Allah, the real good is only the good of the Hereafter, so forgive the Ansar and the Muhajirun). (Sayyiduna Anas (may Allah be pleased with him)) said: The Companions answered him (peace and blessings be upon him), saying:
'We are those who have pledged allegiance at the hand of Muhammad (peace and blessings be upon him) to jihad forever, for as long as we live,' or (in doubt, he said:) '(on the condition) that we will never flee.'"