Getting Rid Of Haram Earning
When a person repents to Allaah from doing haraam work, from which he has acquired wealth, such as payment for singing, bribes, payment for fortunetelling or bearing false witness, payment for recording riba and other kinds of haraam work, if he has disposed of that wealth, he does not have to do anything. But if the wealth is still in his possession, then he must get rid of it by spending it on charitable causes, unless he is in need, in which case he may take only as much as he needs, and he should get rid of the rest.Source: https://islamqa.info/en/answers/78289/how-to-dispose-of-haraam-wealth-after-repenting