Sahih al-Bukhari, Hadith 6086 ⓘ
Narrated `Abdullah bin `Umar: When Allah 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.
حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، حَدَّثَنَا سُفْيَانُ، عَنْ عَمْرٍو، عَنْ أَبِي الْعَبَّاسِ، عَنْ عَبْدِ اللَّهِ بْنِ عَمْرٍو، قَالَ لَمَّا كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم بِالطَّائِفِ قَالَ " إِنَّا قَافِلُونَ غَدًا إِنْ شَاءَ اللَّهُ ". فَقَالَ نَاسٌ مِنْ أَصْحَابِ رَسُولِ اللَّهِ صلى الله عليه وسلم لاَ نَبْرَحُ أَوْ نَفْتَحَهَا. فَقَالَ النَّبِيُّ صلى الله عليه وسلم " فَاغْدُوا عَلَى الْقِتَالِ ". قَالَ فَغَدَوْا فَقَاتَلُوهُمْ قِتَالاً شَدِيدًا وَكَثُرَ فِيهِمُ الْجِرَاحَاتُ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " إِنَّا قَافِلُونَ غَدًا إِنْ شَاءَ اللَّهُ ". قَالَ فَسَكَتُوا فَضَحِكَ رَسُولُ اللَّهِ صلى الله عليه وسلم. قَالَ الْحُمَيْدِيُّ حَدَّثَنَا سُفْيَانُ بِالْخَبَرِ كُلَّهُ.
also referenced under: Book 78, Hadith 114 (In-Book) & Volume 8, Book 73, Hadith 109 (USC-MSA)