Your symptoms are likely to be due to pressure on one of the large nerves that supply that supply that part of your hand. Pain, pins/needles, numbness
can all occur along with weakness in the small muscles of the hand.
You should consult your local doctor regarding the precise nature of the lump you describe. Treatment may be as simple as removal of this lump.