Shiva Purana
तदा तु शिवसायुज्यमायुधाद्यैः क्रियादिभिः । महाप्रसादलाभे च बुद्धिश्चापि वशा भवेत् 1-18-२० ।
Then he attains similarity with Śiva by means of weapons and activities. This is called Sārūpya. When the devotee acquires the great favour, the cosmic intellect too comes under control.
english translation
tadA tu zivasAyujyamAyudhAdyaiH kriyAdibhiH । mahAprasAdalAbhe ca buddhizcApi vazA bhavet 1-18-20 ।
hk transliteration by Sanscript