Should I pay the teammate of the research if they don't contribute many things? I am an undergraduate student and I join the research project with two other friends (same class) under my professor supervision. I got some money for the project, this money is divided equally to every member and I have a bonus for the leader position.
During the research, my teammate doesn't contribute much work.  When I submit the paper to the conference, they said I should remove their name and give them the money.
In my opinion, I don't want to give them the money because the total budget is not much, just enough for the submission fee.
So what should I do now, this is the first time I submit the paper and I don't want to feel awkward with them because we still have to study together?
Update:
After considering all the advice from you guys, I decided to give them their money as the team discussed at the beginning of the project. I think it is fair and they deserve to be paid because they do put their effort into this project.
Use the money for whatever purpose it was assigned: If assigned to pay project team members equally plus your bonus for the leader position, do that. If assigned for submission fee, pay that. If assigned with no remit, do as you see fit. Personally, I think everyone deserves to be paid for their work, after costs (i.e., the submission fee).