He now attacked the fort of Bhim, where was a temple of the Hindus. He was victorious, and obtained much wealth, including about a hundred idols of gold and silver. One of the golden images, which weighed a million mishkals, the Sultan appropriated to the decoration of the Mosque of Ghazni, so that the ornaments of the doors were of gold instead of iron.
Source, in full
Sultãn Mahmûd of Ghazni (AD 997-1030) Nagarkot Kangra (Himachal Pradesh) . Hamdu’llah bin ‘Abu Bakr bin Hamd bin Nasr Mustaufi : Tarikh-i-Guzida, in Elliot and Dowson, Vol. III : Elliot and Dowson, History of India as told by its own Historians, 8 Volumes, Allahabad Reprint, 1964. p. 65