Sunan Ibn Majah, Book 4, Hadith 9 (Ibn Majah 743)

It was narrated from 'Uthman bin Abul-'As that:

The Messenger of Allah commanded him to build the mosque of Ta'if in the place where the Taghuts used to be.