If you dream of handing something over to someone, it symbolizes your trust in that person. It indicates that you rely on them and have shared a secret with them. If you give something to a deceased person, it suggests that you are placing your trust in someone capable of safeguarding your confidential matters. Such dreams reflect the depth of your relationships and the level of trust you have in others.
From Imam Muhammad Ibn Seerin's Dictionary of Dreams According to Islamic Inner Traditions â entry "Trust" (page 450) â resolved via the equivalent "Deposit" entry.
Depositing something with someone in a dream means trusting him with a secret. Entrusting something to a deceased person in a dream means entrusting someone who can keep a secret, or it could mean that he will entrust someone with an object or money that will be lost, or
it could mean confiding to someone who cannot be trusted. Entrusting one's wife with something in a dream means conceiving a child. Ifshe gives him back what he gave her in the dream, it means that her pregnancy will not reach fruition. (Also see Pawn)
Note: Islamic dream interpretation depends on the dreamer's circumstances and state. This is a general guide drawn directly from the source book.