Srimad-Bhagavatam: Canto 10 - Chapter 1 - Verse 12
Sanskrit:
श्रीशुक उवाचशापप्रसादयोरीशा ब्रह्मविष्णुशिवादय: ।सद्य:शापप्रसादोऽङ्ग शिवो ब्रह्मा न चाच्युत: ॥ १२ ॥
ITRANS:
śrī-śuka uvācaśāpa-prasādayor īśābrahma-viṣṇu-śivādayaḥsadyaḥ śāpa-prasādo ’ṅgaśivo brahmā na cācyutaḥ
Translation:
Śukadeva Gosvāmī said: Lord Brahmā, Lord Viṣṇu, Lord Śiva and others are able to curse or bless one. Lord Śiva and Lord Brahmā are very quick to curse or bestow benedictions, my dear King, but the infallible Supreme Lord is not.