Ruling on money obtained from the insurance company by lying to them
Question

I was in a traffic accident, and the fault was mine, one hundred percent. I know the person with whom I collided, and he is well off and has influence, so he told the policeman to put the blame on him, because his car was insured, and he was deemed to be at fault, then the damage was evaluated, and the insurance company paid me all the costs of the accident. Is this money halaal or haraam for me? Please note that I am not well off at all.
Praise be to Allah.Because you were at fault and are the one who caused this accident, then you must bear responsibility for it in full. If the other party wants to let you off and forgive you, then he has the right to do that. It is his right: he can waive liability or he can demand compensation.
But he does not have the right to deceive the insurance company and make them think that he was the one who caused the accident, so that they will bear the costs of repair, because this is lying, cheating and deceit, and it is contrary to the conditions of the contract between him and this company.
Based on that, you have to return this money to the insurance company, because you took it unlawfully. If it is too difficult to return it to them for any reason, then you must give it in charity to the poor and needy.
The fact that you are not well off in contrast to the wealth of the other man is not an excuse or justification for obtaining the money unlawfully.
And Allah knows best.