Dreaming of locusts signifies facing difficult situations in life. It can symbolize a crisis, suffering, or punishment. If you see locusts in your dream, it suggests that unexpected problems may arise that could trouble you. If you eat locusts in the dream, it indicates that you might be caught in harmful circumstances that could affect your mental or physical health.
From Imam Muhammad Ibn Seerin's Dictionary of Dreams According to Islamic Inner Traditions â entry "Locusts" (page 258).
In a dream, locusts represent an adversity, a trial, a calamity or a punishment. They also represent a destructive rain, or an occupation by a vehement army. Eating locusts in a dream means that one will receive money. If one fills a cup or a pitcher with locust in a dream it also means earnings. Any place locusts fly into without causing harm in a dream means overcoming from adversities. Ifa rich person who has lost his wealth sees a swarm oflocust falling all over him in a dream, it means that he will recuperate his wealth.
Note: Islamic dream interpretation depends on the dreamer's circumstances and state. This is a general guide drawn directly from the source book.