"The take-over of ‘pagan’ sites is a recurrent feature of the history of the expansion of Islam. The most obvious precedent is to be found in the Muslim annexation of the Hajar al-aswad at Mecca. Jamali tells how Usman Harwani converts a group of fire-worshippers and moves into their temple for two and a half years after which he leaves them in the hands of the original priests who are now Sufi shaykhs. Sir Thomas Arnold remarks that ‘in many instances there is no doubt that the shrine of a Muslim saint marks the site of some local cult which was practised on the spot long before the introduction of Islam. There is evidence, more reliable than the tradition recorded in the Siyar al-Aqtãb, to suggest that this was the case in Ajmer. Sculpted stones, apparently from a Hindu temple, are incorporated in the Buland Darwãza of Mu‘în al-dîn’s shrine. Moreover, his tomb is built over a series of cellars which may have formed part of an earlier temple… A tradition, first recorded in the ‘Anis al-Arwãh, suggests that the Sandal Khãna is built on the site of Shãdî Dev’s temple."
January 1, 1970
https://en.wikiquote.org/wiki/Conversion_of_non-Islamic_places_of_worship_into_mosques