Assalam Alaikum: extremely sorry sir, i apologise for my wrong question. Actually my question was regarding one's doings having a negative effect on one's memory...
Answer:
Dear beloved brother the brain is in direct control of all the activities of the human body, when a person does some thing it is actually the brain that commands the body to do something,
If you are doing good things then you automatically get peace of mind & soul, how ever if you are doing any type of bad deeds you lose the peace of mind & soul, which in turn may put a stress on your mind, & may lead to loss of memory power (provided you be a man with strong taqwa).
And Allah alone knows the best.