Narrated Hisham:
The above narration and added extra, that at that time, the Prophet, was besieging Taif.
In-book : Book 64, Hadith 354
USC-MSA web (English) : Vol. 5, Book 59, Hadith 613 (deprecated)
64. Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
باب قَوْلِ النَّبِيِّ صلى الله عليه وسلم " جُعِلَتْ لِيَ الأَرْضُ مَسْجِدًا وَطَهُورًا "