"This fort was conquered and this Jãmi‘ Masjid built in the months of the year 587 by the Amîr, the great, the glorious commander of the Army, Qutb-ud-daula wad-dîn, the Amîr-ul-umarã Aibeg, the slave of the Sultãn, may God strengthen his helpers! The materials (?) of 27 idol temples, on each of which 2,000,000 Deliwãl had been spent were used in the (construction of) this mosque. God the Great and Glorious may have mercy on that slave, every one who is in favour of the good (?) builder prays for this faith."
January 1, 1970
https://en.wikiquote.org/wiki/Conversion_of_non-Islamic_places_of_worship_into_mosques