Men and woman often think over their problems just before going to sleep and get a solution in their dreams or immediately upon awakening.
This is because their minds were so active on the intellectual plane that they could not make contact with the silent inner plane where ideas work.
When the conscious mind is stilled and one makes contact with the superconsciousness, it begins to show us how our affairs will work out or how we can help to bring about the desired prosperity.
This is the law of mind