The king decided to lock Prophet Hanzalah at the bottom of the river. Prophet Hanzalah prayed, and God punished those people severely.