Abdullah bin Amr bin As reported,

The Messenger of Allah ﷺ laid siege to the people of Taif but gained nothing from them, so he said, "We shall be departing, Allah willing."His companions said, "Are we to leave without conquering it?"The Messenger of Allah ﷺ told them, "Set out tomorrow for battle." So they went out the next day to fight, and they suffered wounds.Then the Messenger of Allah ﷺ said to them, "We shall be departing tomorrow." This pleased them, and the Messenger of Allah ﷺ laughed.

Azami 9232

Sahih

عن عبد الله بن عمرو بن العاص قال

حاصر رسول الله ﷺ أهل الطائف فلم ينل منهم شيئا، فقال: إنا قافلون إن شاء الله قال أصحابه: نرجع ولا نفتتحه؟ فقال لهم رسول الله ﷺ: اغدوا على القتال فغدوا عليه فأصابهم جراح، فقال لهم رسول الله ﷺ: إنا قافلون غدا قال: فأعجبهم ذلك، فضحك رسول الله ﷺ.

الأعظمي 9232صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Expedition of Hunayn and Taif
Section
Siege of Taif
Numbering
Jami al-Kamil 9232 (2nd edition)
Azami 9232