To dig up a person, it announces a difficult period which will put you in trial. To dig up an object means surprise because of an event that might be favorable.

…To dream that you’re digging suggests that in your real life you’re trying to hide something, what causes you psychological fears. To dream that you find something shinny while you dig the ground suggests that the results will depend on how you conduct your personal commitments. To dream that you’re digging mud suggests poor results in your affairs, and worse if the mud is pestilential. To dream that you’re digging and accidentally find a clean water well announces an upcoming success, but if the water is dirty, it indicates failures….

(See Digging a grave | Exhume | Grave)

Digging graves doth portend a wedding propitious,

…Dreaming of digging, denotes that you will never be in want, but life will be an uphill affair. To dig a hole and find any glittering substance, denotes a favorable turn in fortune | but to dig and open up a vast area of hollow mist, you will be harrassed with real misfortunes and be filled with gloomy forebodings. Water filling the hole that you dig, denotes that in spite of your most strenuous efforts things will not bend to your will….

…Dreaming of clay, denotes isolation of interest and probable insolvency. To dig in a clay bank, foretells you will submit to extraordinary demands of enemies. If you dig in an ash bank and find clay, unfortunate surprises will combat progressive enterprises or new work. Your efforts are likely to be misdirected after this dream. Women will find this dream unfavorable in love, social and business states, and misrepresentations will overwhelm them….

To dig a well indicates trouble and sorrow.

To dig mines is hard work and little profit to thee.

(Dig up a grave | Unearth) Exhuming the body of a deceased person and finding him alive in his grave in a dream means pursuing his tradition, knowledge, wisdom, trade or practices. It also means acquiring lawful money. If one finds him dead in his grave, then there is no benefit in his striving. A grave robber or a body snatcher in a dream represents a deliberate and a premeditated scheme to unravel a mystery, or forming an expedition to search for a hidden treasure. Digging the grave of a renowned scholar in a dream means studying his school of thought and the restoration of his studies, life, traditions and prominence. (Also see Grave digger | Grave)

…or religious scholar and devout believer will die in that locality. In a dream, if the roof of a masjid caves in, it means that one will indulge in an abominable action. If one sees a stranger performing his prayers in a masjid in a dream, it means that the Imam of that masjid will dies from a terminal illness. If one enters a masjid in the company of a group of people, and if they dig a small hole for him inside the masjid in the dream, it means that he will get married. If one’s house becomes a masjid in a dream, it means that he will attain piety, purity of heart, escetic detachment and an honor he will receive from his brethren. He will also call upon them to follow what is true and to abstain from what is false. If a masjid is transformed into a…

…Dreaming of a stump, foretells you are to have reverses and will depart from your usual mode of living. To see fields of stumps, signifies you will be unable to defend yourself from the encroachments of adversity. To dig or pull them up, is a sign that you will extricate yourself from the environment of poverty by throwing off sentiment and pride and meeting the realities of life with a determination to overcome whatever opposition you may meet….

The dream in which you see the onion could indicate the difficult problem that is not easy to see in the first place. You have to dig deeper and deeper in order to see clearly. The onion could also indicate the growth of you as the personality. The onion could also represent some person in your waking life that is difficult to understand.