حَدَّثَنَا مُحَمَّدُ بْنُ يَحْيَى، حَدَّثَنَا أَبُو هَمَّامٍ الدَّلاَّلُ، حَدَّثَنَا سَعِيدُ بْنُ السَّائِبِ، عَنْ مُحَمَّدِ بْنِ عَبْدِ اللَّهِ بْنِ عِيَاضٍ، عَنْ عُثْمَانَ بْنِ أَبِي الْعَاصِ، أَنَّ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ أَمَرَهُ أَنْ يَجْعَلَ مَسْجِدَ الطَّائِفِ حَيْثُ كَانَ طَاغِيَتُهُمْ ‏.‏

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. Translation Not Available

Book Ref: Sunan Ibn Majah Book 4 Hadith 743
Web Ref:  Sunan Ibn Majah Vol 1 Book 4 Hadith 743