"In the reign of the great Prince Ãlamgîr, Like the full shining moon, The enlightener of the world, Praise be to God that this happy place, Was by Motamid Khãn completed as an alms. It was the idol temple of the vile Gwãlî, He made it a mosque, like a mansion of paradise. The Khãn of enlightened heart, Nay light itself from head to foot, Displayed the divine light, like that of mid-day, He closed the idol temple: Exclamations rose from earth to heaven, When the light put far away the abode of darkness, Hatif said “light be blessed."
January 1, 1970
https://en.wikiquote.org/wiki/Conversion_of_non-Islamic_places_of_worship_into_mosques