Sayyiduna Anas (may Allah be pleased with him) narrates in one narration that (in the Battle of Khandaq, the Muhajirun and Ansar used to) say: "We are those who pledged allegiance to Muhammad (peace be upon him) on the condition that as long as there is life in our bodies, we will continue to strive (in jihad)." So the Noble Prophet (peace be upon him) would reply to them: "O Allah! True goodness is only the goodness of the Hereafter, so bless the Muhajirun and the Ansar."