Srimad Bhagavatam Canto 10, Chapter 10, Text 40

SB 10.10.40

sri-bhagavan uvaca
jñatam mama puraivaitad
rsina karunatmana
yac chri-madandhayor vagbhir
vibhramso ’nugrahah krtah
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
The Supreme Personality of Godhead said: The great saint Narada Muni is very merciful. By his curse, he showed the greatest favor to both of you, who were mad after material opulence and who had thus become blind. Although you fell from the higher planet Svargaloka and became trees, you were most favored by him. I knew of all these incidents from the very beginning.
 
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
It is now confirmed by the Supreme Personality of Godhead that the curse of a devotee is also to be regarded as mercy. As Krsna, God, is all-good, a Vaisnava is also all-good. Whatever he does is good for everyone. This is explained in the following verse.
Srimad Bhagavatam Canto 10, Chapter 10, Text 39
Srimad Bhagavatam Canto 10, Chapter 10, Text 42