Srimad-Bhagavatam: Canto 8 - Chapter 1 - Verse 42
Sanskrit:
तत: करतलीकृत्य व्यापि हालाहलं विषम् ।अभक्षयन्महादेव: कृपया भूतभावन: ॥ ४२ ॥
ITRANS:
tataḥ karatalī-kṛtyavyāpi hālāhalaṁ viṣamabhakṣayan mahā-devaḥkṛpayā bhūta-bhāvanaḥ
Translation:
Thereafter, Lord Śiva, who is dedicated to auspicious, benevolent work for humanity, compassionately took the whole quantity of poison in his palm and drank it.
Purport:
Although there was such a great quantity of poison that it spread all over the universe, Lord Śiva had such great power that he reduced the poison to a small quantity so that he could hold it in his palm. One should not try to imitate Lord Śiva. Lord Śiva can do whatever he likes, but those who try to imitate Lord Śiva by smoking ganja and other poisonous things will certainly be killed because of such activities.