Srimad Bhagavatam Canto 04, Chapter 02, Text 28

SB 4.2.28

bhava-vrata-dhara ye ca
ye ca tan samanuvratah
pasandinas te bhavantu
sac-chastra-paripanthinah
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
One who takes a vow to satisfy Lord Siva or who follows such principles will certainly become an atheist and be diverted from transcendental scriptural injunctions.
 
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
It is sometimes seen that devotees of Lord Siva imitate the characteristics of Lord Siva. For example, Lord Siva drank an ocean of poison, so some of the followers of Lord Siva imitate him and try to take intoxicants like gañja (marijuana). Here the curse is that if someone follows such principles he must become an infidel and turn against the principles of Vedic regulation. It is said that such devotees of Lord Siva will be sac-chastra-paripanthinah, which means “opposed to the conclusion of sastra, or scripture.” This is confirmed in the Padma Purana also. Lord Siva was ordered by the Supreme Personality of Godhead to preach the impersonal, or Mayavada, philosophy for a particular purpose, just as Lord Buddha preached the philosophy of voidness for particular purposes mentioned in the sastras.
 
Sometimes it is necessary to preach a philosophical doctrine which is against the Vedic conclusion. In the Siva Purana it is stated that Lord Siva said to Parvati that in the Kali-yuga, in the body of a brahmana, he would preach the Mayavada philosophy. Thus it is generally found that the worshipers of Lord Siva are Mayavadi followers. Lord Siva himself says, mayavadam asac-chastram. Asat-sastra, as explained here, means the doctrine of Mayavada impersonalism, or becoming one with the Supreme. Bhrgu Muni cursed that persons who worshiped Lord Siva would become followers of this Mayavada asat-sastra, which attempts to establish that the Supreme Personality of Godhead is impersonal. Besides that, among the worshipers of Lord Siva there is a section who live a devilish life. Srimad-Bhagavatam and Narada-pañcaratra are authorized scriptures that are considered sat-sastra, or scriptures which lead one to the path of God realization. Asat-sastras are just the opposite.
Srimad Bhagavatam Canto 04, Chapter 02, Text 27
Srimad Bhagavatam Canto 04, Chapter 02, Text 29