"It is related in the Tarikh-i Mahmudi that the Sultan shortly after reached Ghazni, and laid down the image of Somnat at the threshold of the Mosque of Ghazni, so that the Musulmans might tread upon the breast of the idol on their way to and from their devotions. As soon as the unbelievers heard of this, they sent an embassy to Khwaja Hasan Maimandi, stating that the idol was of stone and useless to the Musulmans, and offered to give twice its weight in gold as a ransom, if it might be returned to them. Khwaja Hasan Maimandi represented to the Sultan that the unbelievers had offered twice the [p. 118] weight of the idol in gold, and had agreed to be subject to him. He added, that he best policy would be to take the gold and restore the image, thereby attaching the people to his Government. The Sultan yielded to the advice of the Khwaja, and the unbelievers paid the gold into the treasury."
January 1, 1970
https://en.wikiquote.org/wiki/Sack_of_Somnath