All perfect praise be to Allah, the Lord of the worlds. I testify that there is none worthy of worship except Allah and that Muhammad is His slave and Messenger.
You are obliged to be jealous regarding the sanctity of the Prophet and not allow anyone to joke about him, no matter who they might be.
So if your team makes such jokes, then tell them firmly that this is the Messenger of Allah in whom you believe, and that they must believe in his message to all creation, and you should not allow them to mock him or make jokes about his person.
We give you an example: if the one joked about is your father or your mother, what would you do? Indeed, the Messenger of Allah is worthier of your jealousy regarding his honor, and of striving to prevent any insult that would undermine his honorable person. If they do not stop this, then leave this team and look for another disciplined team to work with.
Allah knows best.