Sahih al-Bukhari 3796
صحيح البخاري#3796SahihNarrated Anas bin Malik:On the day of the battle of the Trench (i.e. Ghazwat-ul-Khandaq) the Ansar used to say, "We are those who have given the pledge of allegiance to Muhammad for Jihad (i.e. holy fighting) as long as we live." The Prophet (ﷺ) , replied to them, "O Allah! There is no life except the life of the Hereafter; so please honor the Ansar and the Emigrants
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Every narration in Sahih al-Bukhari is accepted as Sahih (authentic) by the established status of the book.
In-book reference: 63:21