While the companions of the Prophet (PBUH) were digging the trench, they were chanting [poetically]: We are the ones who pledged allegiance to Muhammad on Islam as long as we live. The Prophet (PBUH) was saying: O Allah, the goodness is the goodness of the Hereafter, so forgive the Ansar and the Emigrants. Then barley bread with rancid fat on it was brought to the Messenger of Allah (PBUH), so they ate from it and the Prophet (PBUH) said: Verily the goodness is the goodness of the Hereafter.