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.'"