AHMAD 12951:
from Anas b. Mālik —
[Machine] The Prophet ﷺ went out one morning during a pleasant or cold day, and he saw the emigrants and the ansar digging the trench. He said, "O Allah, the good is the good of the Hereafter, so forgive the ansar and the emigrants." And they responded to him. [Al-Bahr ar-Rajz] We are the ones who pledged allegiance to Muhammad for Jihad, and we will never go back on it.
أحمد ١٢٩٥١:
عن انس بن مالك —
خَرَجَ النَّبِيُّ ﷺ فِي غَدَاةٍ قَرَّةٍ أَوْبَارِدَةٍ فَإِذَا الْمُهَاجِرُونَ وَالْأَنْصَارُ يَحْفِرُونَ الْخَنْدَقَ فَقَالَ اللهُمَّ إِنَّ الْخَيْرَ خَيْرُ الْآخِرَهْ فَاغْفِرْ لِلْأَنْصَارِ وَالْمُهَاجِرَهْ فَأَجَابُوهُ[البحر الرجز]نَحْنُ الَّذِينَ بَايَعُوا مُحَمَّدَا عَلَى الْجِهَادِ مَا بَقِينَا أَبَدَا
hadithunlocked.com