Srimad Bhagavatam Canto 08, Chapter 12, Text 31

SB 8.12.31

tasyasau padavim rudro
 visnor adbhuta-karmanah
pratyapadyata kamena
 vairineva vinirjitah
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
As if harassed by an enemy in the form of lusty desires, Lord Siva followed the path of Lord Visnu, who acts very wonderfully and who had taken the form of Mohini.
 
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
Lord Siva cannot be victimized by maya. Therefore it is to be understood that Lord Siva was being thus harassed by Lord Visnu’s internal potency. Lord Visnu can perform many wonderful activities through His various potencies.
 
parasya saktir vividhaiva sruyate
 svabhaviki jñana-bala-kriya ca
 
(Svetasvatara Upanisad 6.8)
 
The Supreme Lord has various potencies, by which He can act very efficiently. To do anything expertly, He doesn’t even need to contemplate. Since Lord Siva was being harassed by the woman, it is to be understood that this was being done not by a woman but by Lord Visnu Himself.

 

Srimad Bhagavatam Canto 08, Chapter 12, Text 29-30
Srimad Bhagavatam Canto 08, Chapter 12, Text 32