Sahih al-Bukhari 6086
صحيح البخاري#6086SahihNarrated `Abdullah bin `Umar:When Allah's Apostle was in Ta'if (trying to conquer it), he said to his companions, "Tomorrow we will return (to Medina), if Allah wills." Some of the companions of Allah's Messenger (ﷺ) said, "We will not leave till we conquer it." The Prophet (ﷺ) said, "Therefore, be ready to fight tomorrow." On the following day, they (Muslims) fought fiercely (with the people of Ta'if) and suffered many wounds. Then Allah's Messenger (ﷺ) said, "Tomorrow we will return (to Medina), if Allah wills." His companions kept quiet this time. Allah's Messenger (ﷺ) then smiled
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: 78:114