Srimad Bhagavatam Canto 05, Chapter 26, Text 03

SB 5.26.3

athedanim pratisiddha-laksanasyadharmasya tathaiva kartuh sraddhaya vaisadrsyat karma-phalam visadrsam bhavati ya hy anady-avidyaya krta-kamanam tat-parinama-laksanah srtayah sahasrasah pravrttas tasam pracuryenanuvarnayisyamah.
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
Just as by executing various pious activities one achieves different positions in heavenly life, by acting impiously one achieves different positions in hellish life. Those who are activated by the material mode of ignorance engage in impious activities, and according to the extent of their ignorance, they are placed in different grades of hellish life. If one acts in the mode of ignorance because of madness, his resulting misery is the least severe. One who acts impiously but knows the distinction between pious and impious activities is placed in a hell of intermediate severity. And for one who acts impiously and ignorantly because of atheism, the resultant hellish life is the worst. Because of ignorance, every living entity has been carried by various desires into thousands of different hellish planets since time immemorial. I shall try to describe them as far as possible.
Srimad Bhagavatam Canto 05, Chapter 26, Text 02
Srimad Bhagavatam Canto 05, Chapter 26, Text 04