Sayyiduna Anas (may Allah be pleased with him) says that the Muhajirun and the Ansar were digging the trench around Madinah and carrying the soil out on their backs, and they were saying: We have pledged allegiance to Muhammad (peace and blessings be upon him) on Islam for as long as we live. And the Messenger of Allah (peace and blessings be upon him) would reply:
'Allahumma la khayra illa khayr al-akhirah, fabarik fil-ansari wal-muhajirah' (O Allah, there is no good except the good of the Hereafter; O Allah, bless the Ansar and the Muhajirun).
Sayyiduna Anas (may Allah be pleased with him) says: They would be given two handfuls of barley, and a dish would be made from it that was foul-smelling; it would stick in the throat and its smell was not pleasant, and that is what would be placed before the people.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السير / 17890