How to make a mesh invisible, but that mesh can cast shadows?

Hi, I’m making FPS character. And I want to make FPS hands rendered, and the mesh of full character will only render shadows. How to realize that?

Try this

Thanks!