You are not obligated to withhold this money or give it back, since the sin of earning it illegally is on the person who earned it. Your father can take it and spend it on you.
Yes, an exception would be if that specific money was stolen. If it’s stolen money then you would not be able to take it and you should tell your father about it so he can return it and get proper money from him.