Asking a scholar or judge for something as a gift signifies the occurrence of events in which scholars and judges will be needed.
Seeing a rich person ask something from a poor person signifies a bad outcome for that rich person. Asking someone for something or asking a question signifies following a trace and showing persistence in one's affair. It may also signify becoming a student; through humility for the sake of Allah, the dreamer's standing is elevated.